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

Fixes #14079
This commit is contained in:
Jonathan Rainville 2024-03-21 13:51:01 -04:00 committed by GitHub
parent 398a92b12e
commit 2b219627a5
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