Remove secret chat notification on chat opening.
GitOrigin-RevId: 4bd180b95b520bc1a9aca645d07580d5e3aa4228
This commit is contained in:
parent
14f5ce9a29
commit
91627605f6
@ -12795,6 +12795,10 @@ void MessagesManager::open_dialog(Dialog *d) {
|
|||||||
LOG(INFO) << "Cancel unload timeout for " << d->dialog_id;
|
LOG(INFO) << "Cancel unload timeout for " << d->dialog_id;
|
||||||
pending_unload_dialog_timeout_.cancel_timeout(d->dialog_id.get());
|
pending_unload_dialog_timeout_.cancel_timeout(d->dialog_id.get());
|
||||||
|
|
||||||
|
if (d->new_secret_chat_notification_id.is_valid()) {
|
||||||
|
remove_new_secret_chat_notification(d, true);
|
||||||
|
}
|
||||||
|
|
||||||
switch (d->dialog_id.get_type()) {
|
switch (d->dialog_id.get_type()) {
|
||||||
case DialogType::User:
|
case DialogType::User:
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user