mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 09:08:49 +00:00
fix: fix community messages appearing in the normal chat list
This commit is contained in:
parent
019f558308
commit
8c258b528b
@ -487,6 +487,8 @@ QtObject:
|
|||||||
|
|
||||||
proc updateChats*(self: ChatsView, chats: seq[Chat], triggerChange:bool = true) =
|
proc updateChats*(self: ChatsView, chats: seq[Chat], triggerChange:bool = true) =
|
||||||
for chat in chats:
|
for chat in chats:
|
||||||
|
if (chat.communityId != ""):
|
||||||
|
return
|
||||||
self.upsertChannel(chat.id)
|
self.upsertChannel(chat.id)
|
||||||
self.chats.updateChat(chat, triggerChange)
|
self.chats.updateChat(chat, triggerChange)
|
||||||
if(self.activeChannel.id == chat.id):
|
if(self.activeChannel.id == chat.id):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user