Use add_message_sender_dependencies for default group call alias.

This commit is contained in:
levlam 2021-03-28 01:55:39 +03:00
parent 2ba7fd0f18
commit 879fd3b7c0

View File

@ -34960,7 +34960,7 @@ unique_ptr<MessagesManager::Dialog> 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());