diff --git a/src/app_service/service/chat/service.nim b/src/app_service/service/chat/service.nim index b79ed3587e..729080c529 100644 --- a/src/app_service/service/chat/service.nim +++ b/src/app_service/service/chat/service.nim @@ -282,6 +282,8 @@ QtObject: return false for chat in self.channelGroups[communityId].chats: + if chat.categoryId != categoryId: + continue if chat.unviewedMessagesCount > 0 or chat.unviewedMentionsCount > 0: return true return false