mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-30 15:50:53 +08:00
crypto: Dispatch verification request cancellations as well
This commit is contained in:
parent
1f7311a428
commit
6bb7d5faaa
@ -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 New Issue
Block a user