Ensure that private message push notifications don't contain mention.
GitOrigin-RevId: 87d85e63b70fdc5c9fe91d22d7cf9b7ba59f0895
This commit is contained in:
parent
06bb6b4b11
commit
d17531e0e3
@ -25729,6 +25729,9 @@ Result<MessagesManager::MessagePushNotificationInfo> MessagesManager::get_messag
|
||||
} else if (contains_mention && is_dialog_mention_notifications_disabled(d)) {
|
||||
contains_mention = false;
|
||||
}
|
||||
if (dialog_id.get_type() == DialogType::User) {
|
||||
contains_mention = false;
|
||||
}
|
||||
|
||||
DialogId settings_dialog_id = dialog_id;
|
||||
Dialog *settings_dialog = d;
|
||||
|
Loading…
Reference in New Issue
Block a user