actually, don't need to pass this, it's already in options

This commit is contained in:
Bruno Windels 2023-03-30 14:40:58 +02:00
parent 74fe7427af
commit c2b6c44a68

View File

@ -62,7 +62,7 @@ export class SASVerification extends EventEmitter<SASProgressEvents> {
this.olmSas = olmSas; this.olmSas = olmSas;
this.channel = channel; this.channel = channel;
this.setupCancelAfterTimeout(clock); this.setupCancelAfterTimeout(clock);
const stageOptions = {...options, olmSas, eventEmitter: this, crossSigning: options.crossSigning}; const stageOptions = {...options, olmSas, eventEmitter: this};
if (channel.getReceivedMessage(VerificationEventType.Start)) { if (channel.getReceivedMessage(VerificationEventType.Start)) {
this.startStage = new SelectVerificationMethodStage(stageOptions); this.startStage = new SelectVerificationMethodStage(stageOptions);
} }