fix(chat-service): fix chatsWithCategoryHaveUnreadMessages for catID
This commit is contained in:
parent
1225a71877
commit
2551ee0914
|
@ -282,6 +282,8 @@ QtObject:
|
||||||
return false
|
return false
|
||||||
|
|
||||||
for chat in self.channelGroups[communityId].chats:
|
for chat in self.channelGroups[communityId].chats:
|
||||||
|
if chat.categoryId != categoryId:
|
||||||
|
continue
|
||||||
if chat.unviewedMessagesCount > 0 or chat.unviewedMentionsCount > 0:
|
if chat.unviewedMessagesCount > 0 or chat.unviewedMentionsCount > 0:
|
||||||
return true
|
return true
|
||||||
return false
|
return false
|
||||||
|
|
Loading…
Reference in New Issue