crypto: Dispatch verification request cancellations as well

This commit is contained in:
Damir Jelić 2021-06-28 15:25:31 +02:00
parent 1f7311a428
commit 6bb7d5faaa
2 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,7 @@ internal class VerificationRequest(
return
}
private fun dispatchRequestUpdated() {
internal fun dispatchRequestUpdated() {
uiHandler.post {
listeners.forEach {
try {

View File

@ -130,6 +130,7 @@ constructor(
val flowId = content.transactionId ?: return
val sender = event.senderId ?: return
this.getVerificationRequest(sender, flowId)?.dispatchRequestUpdated()
getAndDispatch(sender, flowId)
}
private fun onStart(event: Event) {