fix(@desktop/group-chat): restore missing removeMembersFromGroupChat

Without it, removing users from the group doesn't work.
This commit is contained in:
Patryk Osmaczko 2022-06-10 18:28:28 +02:00 committed by osmaczko
parent 4a4cee7da7
commit 4bfebcdea2
1 changed files with 3 additions and 0 deletions

View File

@ -187,6 +187,9 @@ QtObject:
proc removeMemberFromGroupChat*(self: View, communityID: string, chatId: string, pubKey: string) {.slot.} = proc removeMemberFromGroupChat*(self: View, communityID: string, chatId: string, pubKey: string) {.slot.} =
self.delegate.removeMemberFromGroupChat(communityID, chatId, pubKey) self.delegate.removeMemberFromGroupChat(communityID, chatId, pubKey)
proc removeMembersFromGroupChat*(self: View, communityID: string, chatId: string, pubKeys: string) {.slot.} =
self.delegate.removeMembersFromGroupChat(communityID, chatId, pubKeys)
proc renameGroupChat*(self: View, chatId: string, newName: string) {.slot.} = proc renameGroupChat*(self: View, chatId: string, newName: string) {.slot.} =
self.delegate.renameGroupChat(chatId, newName) self.delegate.renameGroupChat(chatId, newName)