Fix warning.

This commit is contained in:
levlam 2023-03-17 02:06:45 +03:00
parent b6a6c07de5
commit 5ee4ba2759

View File

@ -31103,8 +31103,8 @@ void MessagesManager::remove_message_notification(DialogId dialog_id, Notificati
LOG(ERROR) << "Can't find " << dialog_id;
return;
}
if (d->notification_info == nullptr || d->notification_info->message_notification_group_.group_id != group_id &&
d->notification_info->mention_notification_group_.group_id != group_id) {
if (d->notification_info == nullptr || (d->notification_info->message_notification_group_.group_id != group_id &&
d->notification_info->mention_notification_group_.group_id != group_id)) {
LOG(ERROR) << "There is no " << group_id << " in " << dialog_id;
return;
}