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

Pass correct response timestamp to tgcalls.

This commit is contained in:
John Preston
2021-03-12 14:58:10 +04:00
parent 267e5fd9e0
commit 74c21039b3
5 changed files with 32 additions and 31 deletions

View File

@@ -950,13 +950,6 @@ void SessionController::startOrJoinGroupCall(
not_null<PeerData*> peer,
QString joinHash,
bool confirmedLeaveOther) {
//const auto channel = peer->asChannel(); // #TODO calls
//if (channel && channel->amAnonymous()) {
// Ui::ShowMultilineToast({
// .text = { tr::lng_group_call_no_anonymous(tr::now) },
// });
// return;
//}
auto &calls = Core::App().calls();
const auto confirm = [&](QString text, QString button) {
Ui::show(Box<ConfirmBox>(text, button, crl::guard(this, [=] {