diff --git a/src/matrix/verification/SAS/stages/SendRequestVerificationStage.ts b/src/matrix/verification/SAS/stages/SendRequestVerificationStage.ts index 1c4c3d34..f3ea42b0 100644 --- a/src/matrix/verification/SAS/stages/SendRequestVerificationStage.ts +++ b/src/matrix/verification/SAS/stages/SendRequestVerificationStage.ts @@ -26,7 +26,7 @@ export class SendRequestVerificationStage extends BaseSASVerificationStage { }; await this.channel.send(VerificationEventTypes.Request, content, log); this.setNextStage(new SelectVerificationMethodStage(this.options)); - await this.channel.waitForEvent("m.key.verification.ready"); + await this.channel.waitForEvent(VerificationEventTypes.Ready); }); } }