fix(chat-service): fix chatsWithCategoryHaveUnreadMessages for catID
This commit is contained in:
parent
1225a71877
commit
2551ee0914
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue