2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added ability to schedule live stream without "Join As" choosing.

This commit is contained in:
23rd
2022-02-26 08:07:20 +03:00
parent 166d844d55
commit 97dbb98862
3 changed files with 14 additions and 2 deletions

View File

@@ -206,6 +206,8 @@ void Instance::startOrJoinGroupCall(
? Group::ChooseJoinAsProcess::Context::JoinWithConfirm
: peer->groupCall()
? Group::ChooseJoinAsProcess::Context::Join
: args.scheduleNeeded
? Group::ChooseJoinAsProcess::Context::CreateScheduled
: Group::ChooseJoinAsProcess::Context::Create;
_chooseJoinAs->start(peer, context, [=](object_ptr<Ui::BoxContent> box) {
Ui::show(std::move(box), Ui::LayerOption::KeepOther);