parent
d7fb0af91d
commit
16f61db2f7
|
@ -254,7 +254,10 @@ proc getWalletAccounts*(self: Controller): seq[wallet_account_service.WalletAcco
|
||||||
return self.messageService.getWalletAccounts()
|
return self.messageService.getWalletAccounts()
|
||||||
|
|
||||||
proc joinGroupChat*(self: Controller) =
|
proc joinGroupChat*(self: Controller) =
|
||||||
self.chatService.confirmJoiningGroup("", self.chatId)
|
var communityId = ""
|
||||||
|
if (self.belongsToCommunity):
|
||||||
|
communityId = self.sectionId
|
||||||
|
self.chatService.confirmJoiningGroup(communityId, self.chatId)
|
||||||
|
|
||||||
proc leaveChat*(self: Controller) =
|
proc leaveChat*(self: Controller) =
|
||||||
self.chatService.leaveChat(self.chatId)
|
self.chatService.leaveChat(self.chatId)
|
||||||
|
|
Loading…
Reference in New Issue