From 12a755d921e1b28052b852df5b39c024f9901406 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 19 Mar 2021 01:28:18 +0300 Subject: [PATCH] Don't ignore update about ended group call if group call is being joined. --- td/telegram/MessagesManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index bd3546da6..7f1259a98 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -29786,7 +29786,7 @@ void MessagesManager::on_update_dialog_group_call(DialogId dialog_id, bool has_a if (d->has_active_group_call == has_active_group_call && d->is_group_call_empty == is_group_call_empty) { return; } - if (!force && d->active_group_call_id.is_valid() && + if (!force && d->active_group_call_id.is_valid() && has_active_group_call && td_->group_call_manager_->is_group_call_being_joined(d->active_group_call_id)) { LOG(INFO) << "Ignore update in a being joined group call"; return;