From f049e013a7f5db0f2fb8cc1e580f5c4208f03a0e Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Mon, 8 May 2023 21:47:23 +0530 Subject: [PATCH] Set finished to true when aborting --- src/matrix/verification/SAS/SASVerification.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/matrix/verification/SAS/SASVerification.ts b/src/matrix/verification/SAS/SASVerification.ts index 218cafd4..d462252d 100644 --- a/src/matrix/verification/SAS/SASVerification.ts +++ b/src/matrix/verification/SAS/SASVerification.ts @@ -91,6 +91,7 @@ export class SASVerification extends EventEmitter implements async abort(): Promise { await this.channel.cancelVerification(CancelReason.UserCancelled); + this.finished = true; } async verify(): Promise {