From eb6c350e729357f14019826452ca484af27e3bdb Mon Sep 17 00:00:00 2001 From: John Preston Date: Tue, 3 Jan 2023 09:22:46 +0400 Subject: [PATCH] Fix unread reactions button in chats with users. Regression was introduced in 6a7f030ee7. Fixes #25661. --- Telegram/SourceFiles/api/api_unread_things.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/api/api_unread_things.cpp b/Telegram/SourceFiles/api/api_unread_things.cpp index 8888d794f..dac998dfd 100644 --- a/Telegram/SourceFiles/api/api_unread_things.cpp +++ b/Telegram/SourceFiles/api/api_unread_things.cpp @@ -36,7 +36,7 @@ bool UnreadThings::trackMentions(Data::Thread *thread) const { bool UnreadThings::trackReactions(Data::Thread *thread) const { const auto peer = thread ? thread->peer().get() : nullptr; - return peer && (peer->isChat() || peer->isMegagroup()); + return peer && (peer->isUser() || peer->isChat() || peer->isMegagroup()); } void UnreadThings::preloadEnough(Data::Thread *thread) {