Remove magic string

This commit is contained in:
RMidhunSuresh 2023-03-14 16:21:29 +05:30
parent 65c0afb027
commit 8e08916502
No known key found for this signature in database

View File

@ -26,7 +26,7 @@ export class SendRequestVerificationStage extends BaseSASVerificationStage {
}; };
await this.channel.send(VerificationEventTypes.Request, content, log); await this.channel.send(VerificationEventTypes.Request, content, log);
this.setNextStage(new SelectVerificationMethodStage(this.options)); this.setNextStage(new SelectVerificationMethodStage(this.options));
await this.channel.waitForEvent("m.key.verification.ready"); await this.channel.waitForEvent(VerificationEventTypes.Ready);
}); });
} }
} }