Don't ignore update about ended group call if group call is being joined.

This commit is contained in:
levlam 2021-03-19 01:28:18 +03:00
parent 81f20ae4ec
commit 12a755d921

View File

@ -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) { if (d->has_active_group_call == has_active_group_call && d->is_group_call_empty == is_group_call_empty) {
return; 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)) { td_->group_call_manager_->is_group_call_being_joined(d->active_group_call_id)) {
LOG(INFO) << "Ignore update in a being joined group call"; LOG(INFO) << "Ignore update in a being joined group call";
return; return;