You've already forked matrix-js-sdk
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:
@@ -466,8 +466,7 @@ export class VerificationRequest extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const ourDoneEvent = this._eventsByUs.get(DONE_TYPE);
|
const ourDoneEvent = this._eventsByUs.get(DONE_TYPE);
|
||||||
const theirDoneEvent = this._eventsByThem.get(DONE_TYPE);
|
if (ourDoneEvent && phase() === PHASE_STARTED) {
|
||||||
if (ourDoneEvent && theirDoneEvent && phase() === PHASE_STARTED) {
|
|
||||||
transitions.push({phase: PHASE_DONE});
|
transitions.push({phase: PHASE_DONE});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user