Skip action bar repair on close.

GitOrigin-RevId: 3fa1fdc3d0664a2fb6d80f1010b2a5c20382253c
This commit is contained in:
levlam 2019-12-15 23:38:32 +03:00
parent d4a701f48a
commit fc130aec51

View File

@ -6748,6 +6748,10 @@ bool MessagesManager::update_dialog_silent_send_message(Dialog *d, bool silent_s
}
void MessagesManager::repair_dialog_action_bar(DialogId dialog_id) {
if (G()->close_flag()) {
return;
}
switch (dialog_id.get_type()) {
case DialogType::User:
td_->contacts_manager_->reload_user_full(dialog_id.get_user_id());