crypto: Dispatch verification request cancellations as well
This commit is contained in:
parent
1f7311a428
commit
6bb7d5faaa
@ -56,7 +56,7 @@ internal class VerificationRequest(
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun dispatchRequestUpdated() {
|
internal fun dispatchRequestUpdated() {
|
||||||
uiHandler.post {
|
uiHandler.post {
|
||||||
listeners.forEach {
|
listeners.forEach {
|
||||||
try {
|
try {
|
||||||
|
@ -130,6 +130,7 @@ constructor(
|
|||||||
val flowId = content.transactionId ?: return
|
val flowId = content.transactionId ?: return
|
||||||
val sender = event.senderId ?: return
|
val sender = event.senderId ?: return
|
||||||
|
|
||||||
|
this.getVerificationRequest(sender, flowId)?.dispatchRequestUpdated()
|
||||||
getAndDispatch(sender, flowId)
|
getAndDispatch(sender, flowId)
|
||||||
}
|
}
|
||||||
private fun onStart(event: Event) {
|
private fun onStart(event: Event) {
|
||||||
|
Loading…
Reference in New Issue
Block a user