Handle all types of confcall invite responses.

This commit is contained in:
John Preston
2025-04-05 09:55:11 +04:00
parent e5f31dbe8e
commit 8ab1a7268b
4 changed files with 75 additions and 18 deletions
@@ -511,10 +511,6 @@ object_ptr<Ui::BoxContent> PrepareInviteBox(
}
const auto done = [=](InviteResult result) {
(*close)();
if (result.invited.empty()
&& result.privacyRestricted.empty()) {
return;
}
showToast({ ComposeInviteResultToast(result) });
};
call->inviteUsers(
@@ -566,8 +562,6 @@ object_ptr<Ui::BoxContent> PrepareInviteBox(
lt_count,
result.invited.size(),
Ui::Text::RichLangValue));
} else {
Unexpected("Result in GroupCall::inviteUsers.");
}
});
};