2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Implement multi-inviting to confcalls.

This commit is contained in:
John Preston
2025-03-29 16:28:17 +05:00
parent 6451e1cfe2
commit 9dbd134601
15 changed files with 366 additions and 125 deletions

View File

@@ -135,13 +135,9 @@ constexpr auto kPlayStatusLimit = 2;
MTP_int(*creating)
)).done(crl::guard(controller, [=](const MTPphone_GroupCall &result) {
result.data().vcall().match([&](const auto &data) {
const auto call = std::make_shared<Data::GroupCall>(
session->user(),
const auto call = session->data().sharedConferenceCall(
data.vid().v,
data.vaccess_hash().v,
TimeId(), // scheduleDate
false, // rtmp
true); // conference
data.vaccess_hash().v);
call->processFullCall(result);
const auto finished = [=](bool ok) {
if (!ok) {