Completely disable notification about registered contact by the corresponding option.
GitOrigin-RevId: 7f3b9f6c6cb997637c969d1450640161058099db
This commit is contained in:
parent
c09d5dfbc2
commit
ffd9f89326
@ -18779,6 +18779,11 @@ bool MessagesManager::is_message_notification_disabled(const Dialog *d, const Me
|
||||
VLOG(notifications) << "Disable notification for " << m->message_id << " in " << d->dialog_id
|
||||
<< " with content of type " << m->content->get_type();
|
||||
return true;
|
||||
case MessageContentType::ContactRegistered:
|
||||
if (m->disable_notification) {
|
||||
return true;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user