From 879fd3b7c05df3a130202e8e414efe5eab9306db Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 28 Mar 2021 01:55:39 +0300 Subject: [PATCH] Use add_message_sender_dependencies for default group call alias. --- 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 0c5a48533..597d019e4 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -34960,7 +34960,7 @@ unique_ptr MessagesManager::parse_dialog(DialogId dialo Dependencies dependencies; add_dialog_dependencies(dependencies, dialog_id); if (d->default_join_group_call_as_dialog_id != dialog_id) { - add_dialog_and_dependencies(dependencies, d->default_join_group_call_as_dialog_id); + add_message_sender_dependencies(dependencies, d->default_join_group_call_as_dialog_id); } if (d->messages != nullptr) { add_message_dependencies(dependencies, dialog_id, d->messages.get());