mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-22 11:05:03 +01:00
Set finished to true when aborting
This commit is contained in:
parent
7c2ffcb8de
commit
f049e013a7
@ -91,6 +91,7 @@ export class SASVerification extends EventEmitter<SASProgressEvents> implements
|
||||
|
||||
async abort(): Promise<void> {
|
||||
await this.channel.cancelVerification(CancelReason.UserCancelled);
|
||||
this.finished = true;
|
||||
}
|
||||
|
||||
async verify(): Promise<boolean> {
|
||||
|
Loading…
Reference in New Issue
Block a user