mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
actually, don't need to pass this, it's already in options
This commit is contained in:
parent
74fe7427af
commit
c2b6c44a68
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user