From 5ee4ba2759747979196bfffa573572a142212d22 Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 17 Mar 2023 02:06:45 +0300 Subject: [PATCH] Fix warning. --- td/telegram/MessagesManager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index e1bd87fce..6642b8e3a 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -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; }