mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
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…
x
Reference in New Issue
Block a user