fix(@desktop/group chat): fix empty member list in group chat (#15052)
fixes #14907
This commit is contained in:
parent
3c73a84c77
commit
9d5c5c64cc
|
@ -130,7 +130,7 @@ proc getChatMembers*(self: Controller): seq[ChatMember] =
|
||||||
let members = myCommunity.getCommunityChat(self.chatId).members
|
let members = myCommunity.getCommunityChat(self.chatId).members
|
||||||
if members.len > 0:
|
if members.len > 0:
|
||||||
return members
|
return members
|
||||||
return self.chatService.getChatById(self.chatId).members
|
return self.chatService.getChatById(self.chatId).members
|
||||||
|
|
||||||
proc getContactNameAndImage*(self: Controller, contactId: string):
|
proc getContactNameAndImage*(self: Controller, contactId: string):
|
||||||
tuple[name: string, image: string, largeImage: string] =
|
tuple[name: string, image: string, largeImage: string] =
|
||||||
|
|
Loading…
Reference in New Issue