Fix lock blocking sync loop
This commit is contained in:
parent
8555b045e7
commit
b224a8d626
|
@ -337,7 +337,6 @@ internal class DefaultVerificationService @Inject constructor(
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val deferred = CompletableDeferred<PendingVerificationRequest>()
|
|
||||||
stateMachine.send(
|
stateMachine.send(
|
||||||
VerificationIntent.OnVerificationRequestReceived(
|
VerificationIntent.OnVerificationRequestReceived(
|
||||||
senderId = senderId,
|
senderId = senderId,
|
||||||
|
@ -346,7 +345,6 @@ internal class DefaultVerificationService @Inject constructor(
|
||||||
validRequestInfo = validRequestInfo,
|
validRequestInfo = validRequestInfo,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
deferred.await()
|
|
||||||
|
|
||||||
// force download keys to ensure we are up to date
|
// force download keys to ensure we are up to date
|
||||||
checkKeysAreDownloaded(senderId)
|
checkKeysAreDownloaded(senderId)
|
||||||
|
|
Loading…
Reference in New Issue