fix(ContactRequests): Fix accept and reject pending requests functions

Closes: #6261
This commit is contained in:
Boris Melnik 2022-07-01 15:59:07 +03:00 committed by Iuri Matias
parent 95df151123
commit 52b0112a0f
1 changed files with 5 additions and 1 deletions

View File

@ -161,6 +161,7 @@ QtObject:
proc removeContactRequestRejection*(self: View, publicKey: string) {.slot.} =
self.delegate.removeContactRequestRejection(publicKey)
proc getSentVerificationDetailsAsJson(self: View, publicKey: string): string {.slot.} =
return self.delegate.getSentVerificationDetailsAsJson(publicKey)
@ -186,4 +187,7 @@ QtObject:
self.delegate.acceptVerificationRequest(publicKey, response)
proc hasReceivedVerificationRequestFrom*(self: View, fromId: string): bool {.slot.} =
result = self.delegate.hasReceivedVerificationRequestFrom(fromId)
result = self.delegate.hasReceivedVerificationRequestFrom(fromId)
proc acceptContactRequest*(self: View, publicKey: string) {.slot.} =
self.delegate.acceptContactRequest(publicKey)