fix(@desktop/group chat): fix empty member list in group chat (#15052)

fixes #14907
This commit is contained in:
Godfrain Jacques 2024-06-05 09:39:14 -07:00 committed by GitHub
parent 3c73a84c77
commit 9d5c5c64cc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ proc getChatMembers*(self: Controller): seq[ChatMember] =
let members = myCommunity.getCommunityChat(self.chatId).members
if members.len > 0:
return members
return self.chatService.getChatById(self.chatId).members
return self.chatService.getChatById(self.chatId).members
proc getContactNameAndImage*(self: Controller, contactId: string):
tuple[name: string, image: string, largeImage: string] =