From 19420d355b0b9589c4d1b0bab6d54c78e29fc1f8 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 21 Mar 2024 11:37:12 -0400 Subject: [PATCH] fix(category): fix muted category and received messages (#14082) Fixes #14079 --- src/app_service/service/chat/service.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app_service/service/chat/service.nim b/src/app_service/service/chat/service.nim index a1d1d0ac73..bd6cf8426f 100644 --- a/src/app_service/service/chat/service.nim +++ b/src/app_service/service/chat/service.nim @@ -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