fix(category): fix muted category and received messages (#14082)

Fixes #14079
This commit is contained in:
Jonathan Rainville 2024-03-21 11:37:12 -04:00 committed by GitHub
parent 830cadf06a
commit 19420d355b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ QtObject:
for chat in self.channelGroups[communityId].chats:
if chat.categoryId != categoryId:
continue
if chat.unviewedMessagesCount > 0 or chat.unviewedMentionsCount > 0:
if (not chat.muted and chat.unviewedMessagesCount > 0) or chat.unviewedMentionsCount > 0:
return true
return false