fix(@desktop/communities): #5797 ensure member list from status go is not empty
This commit is contained in:
parent
efb18f4851
commit
1b417dc5fd
|
@ -154,6 +154,7 @@ method onChatUpdated*(self: Module, chat: ChatDto) =
|
||||||
for member in chat.members:
|
for member in chat.members:
|
||||||
self.addChatMember(self.controller.getChatMember(member.id))
|
self.addChatMember(self.controller.getChatMember(member.id))
|
||||||
|
|
||||||
|
if chat.members.len > 0:
|
||||||
let ids = self.view.model.getItemIds()
|
let ids = self.view.model.getItemIds()
|
||||||
for id in ids:
|
for id in ids:
|
||||||
var found = false
|
var found = false
|
||||||
|
|
Loading…
Reference in New Issue