Skip action bar repair on close.
GitOrigin-RevId: 3fa1fdc3d0664a2fb6d80f1010b2a5c20382253c
This commit is contained in:
parent
d4a701f48a
commit
fc130aec51
@ -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) {
|
void MessagesManager::repair_dialog_action_bar(DialogId dialog_id) {
|
||||||
|
if (G()->close_flag()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
switch (dialog_id.get_type()) {
|
switch (dialog_id.get_type()) {
|
||||||
case DialogType::User:
|
case DialogType::User:
|
||||||
td_->contacts_manager_->reload_user_full(dialog_id.get_user_id());
|
td_->contacts_manager_->reload_user_full(dialog_id.get_user_id());
|
||||||
|
Reference in New Issue
Block a user