mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 13:56:10 +00:00
fix(ContactRequests): Fix accept and reject pending requests functions
Closes: #6261
This commit is contained in:
parent
95df151123
commit
52b0112a0f
@ -161,6 +161,7 @@ QtObject:
|
|||||||
|
|
||||||
proc removeContactRequestRejection*(self: View, publicKey: string) {.slot.} =
|
proc removeContactRequestRejection*(self: View, publicKey: string) {.slot.} =
|
||||||
self.delegate.removeContactRequestRejection(publicKey)
|
self.delegate.removeContactRequestRejection(publicKey)
|
||||||
|
|
||||||
proc getSentVerificationDetailsAsJson(self: View, publicKey: string): string {.slot.} =
|
proc getSentVerificationDetailsAsJson(self: View, publicKey: string): string {.slot.} =
|
||||||
return self.delegate.getSentVerificationDetailsAsJson(publicKey)
|
return self.delegate.getSentVerificationDetailsAsJson(publicKey)
|
||||||
|
|
||||||
@ -187,3 +188,6 @@ QtObject:
|
|||||||
|
|
||||||
proc hasReceivedVerificationRequestFrom*(self: View, fromId: string): bool {.slot.} =
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user