1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00

dont require .done event from other party

This commit is contained in:
Bruno Windels
2020-02-10 18:00:24 +01:00
parent d66d4c1cd9
commit cf5b5ee085

View File

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