Fix lock blocking sync loop

This commit is contained in:
valere 2022-12-15 17:52:14 +01:00
parent 8555b045e7
commit b224a8d626
1 changed files with 0 additions and 2 deletions

View File

@ -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)