1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00

remove obsolete comment

This commit is contained in:
Bruno Windels
2020-01-22 17:36:16 +01:00
parent 05f05c889a
commit 1b242e636b

View File

@@ -544,7 +544,6 @@ export class VerificationRequest extends EventEmitter {
} }
} }
/* FIXME: https://github.com/vector-im/riot-web/issues/11765 */
const isUnexpectedRequest = type === REQUEST_TYPE && this.phase !== PHASE_UNSENT; const isUnexpectedRequest = type === REQUEST_TYPE && this.phase !== PHASE_UNSENT;
const isUnexpectedReady = type === READY_TYPE && this.phase !== PHASE_REQUESTED; const isUnexpectedReady = type === READY_TYPE && this.phase !== PHASE_REQUESTED;
if (isUnexpectedRequest || isUnexpectedReady) { if (isUnexpectedRequest || isUnexpectedReady) {