Skip to content

Commit

Permalink
fix(category): fix muted category and received messages (#14082)
Browse files Browse the repository at this point in the history
Fixes #14079
  • Loading branch information
jrainville committed Mar 21, 2024
1 parent 398a92b commit ac8328c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app_service/service/chat/service.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ac8328c

Please # to comment.