From cf5b5ee08572c57b45b31cd86e4543266fc86a2b Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 10 Feb 2020 18:00:24 +0100 Subject: [PATCH] dont require .done event from other party --- src/crypto/verification/request/VerificationRequest.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crypto/verification/request/VerificationRequest.js b/src/crypto/verification/request/VerificationRequest.js index b19c990fe..d2cc51ea3 100644 --- a/src/crypto/verification/request/VerificationRequest.js +++ b/src/crypto/verification/request/VerificationRequest.js @@ -466,8 +466,7 @@ export class VerificationRequest extends EventEmitter { } const ourDoneEvent = this._eventsByUs.get(DONE_TYPE); - const theirDoneEvent = this._eventsByThem.get(DONE_TYPE); - if (ourDoneEvent && theirDoneEvent && phase() === PHASE_STARTED) { + if (ourDoneEvent && phase() === PHASE_STARTED) { transitions.push({phase: PHASE_DONE}); }