From 2f2d2004e6931f1a282ac76b961dcc92605c5f6b Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 19 Mar 2021 04:28:00 +0300 Subject: [PATCH] Create Dialog for recently speaking channels. --- td/telegram/GroupCallManager.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/td/telegram/GroupCallManager.cpp b/td/telegram/GroupCallManager.cpp index 8008264e8..7ea5e8a31 100644 --- a/td/telegram/GroupCallManager.cpp +++ b/td/telegram/GroupCallManager.cpp @@ -3549,6 +3549,9 @@ void GroupCallManager::on_user_speaking_in_group_call(GroupCallId group_call_id, for (size_t i = 0; i <= recent_speakers->users.size(); i++) { if (i == recent_speakers->users.size() || recent_speakers->users[i].second <= date) { + if (dialog_id.get_type() != DialogType::User) { + td_->messages_manager_->force_create_dialog(dialog_id, "on_user_speaking_in_group_call"); + } recent_speakers->users.insert(recent_speakers->users.begin() + i, {dialog_id, date}); break; }