mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-01 17:27:53 +00:00
parent
d7fb0af91d
commit
16f61db2f7
@ -252,9 +252,12 @@ proc getTransactionDetails*(self: Controller, message: MessageDto): (string,stri
|
||||
|
||||
proc getWalletAccounts*(self: Controller): seq[wallet_account_service.WalletAccountDto] =
|
||||
return self.messageService.getWalletAccounts()
|
||||
|
||||
|
||||
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) =
|
||||
self.chatService.leaveChat(self.chatId)
|
||||
|
Loading…
x
Reference in New Issue
Block a user