2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Added ability to start video chat with RTMP as well.

This commit is contained in:
23rd
2022-02-28 12:43:26 +03:00
parent 7cea4efac1
commit 40d97bc6a4
3 changed files with 20 additions and 9 deletions

View File

@@ -243,7 +243,8 @@ void ChooseJoinAsBox(
auto next = (context == Context::Switch)
? tr::lng_settings_save()
: tr::lng_continue();
if ((context == Context::Create) && !livestream) {
#if 0
if ((context == Context::Create)) {
const auto makeLink = [](const QString &text) {
return Ui::Text::Link(text);
};
@@ -264,6 +265,7 @@ void ChooseJoinAsBox(
return false;
});
}
#endif
box->addButton(std::move(next), [=] {
auto copy = info;
copy.joinAs = controller->selected();