mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-16 08:37:12 +00:00
Fix(AppSearch): Exclude not joined community from updates handling
Closes: #7701
This commit is contained in:
parent
12fc331cc6
commit
c7aa3c7999
@ -138,7 +138,8 @@ QtObject:
|
||||
# Handling community updates
|
||||
if (receivedData.communities.len > 0):
|
||||
for community in receivedData.communities:
|
||||
self.updateOrAddChannelGroup(community.toChannelGroupDto())
|
||||
if (community.joined):
|
||||
self.updateOrAddChannelGroup(community.toChannelGroupDto())
|
||||
|
||||
proc sortPersonnalChatAsFirst[T, D](x, y: (T, D)): int =
|
||||
if (x[1].channelGroupType == Personal): return -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user