Fix unread reactions button in chats with users.

Regression was introduced in 6a7f030ee7.

Fixes #25661.
This commit is contained in:
John Preston 2023-01-03 09:22:46 +04:00
parent d496d41e7e
commit eb6c350e72
1 changed files with 1 additions and 1 deletions

View File

@ -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) {