mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-12-28 20:08:50 +03:00
crypto: Dispatch verification request cancellations as well
This commit is contained in:
parent
1f7311a428
commit
6bb7d5faaa
2 changed files with 2 additions and 1 deletions
|
@ -56,7 +56,7 @@ internal class VerificationRequest(
|
|||
return
|
||||
}
|
||||
|
||||
private fun dispatchRequestUpdated() {
|
||||
internal fun dispatchRequestUpdated() {
|
||||
uiHandler.post {
|
||||
listeners.forEach {
|
||||
try {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue