From 791915296a486047b74eaf53833bc526f3d7488c Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 11 Aug 2024 11:56:01 +0300 Subject: [PATCH] Fix source check. --- td/telegram/MessagesManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index e8e829e5c..639447c7a 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -11893,7 +11893,7 @@ void MessagesManager::set_dialog_last_read_inbox_message_id(Dialog *d, MessageId } send_closure_later(G()->notification_manager(), &NotificationManager::remove_notification_group, d->notification_info->message_notification_group_.get_group_id(), NotificationId(), - d->last_read_inbox_message_id, total_count, Slice(source) == Slice("view_messages"), + d->last_read_inbox_message_id, total_count, Slice(source) == Slice("read_dialog_inbox"), Promise()); }