From 5f3492dbf8e4f9c5a9cda5b98a9660e4882b512e Mon Sep 17 00:00:00 2001 From: Hubert Chathi Date: Wed, 9 Oct 2019 11:13:32 -0400 Subject: [PATCH] send the m.key.verification.done message when done --- src/crypto/verification/Base.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crypto/verification/Base.js b/src/crypto/verification/Base.js index aa68d7b89..8d39f2d64 100644 --- a/src/crypto/verification/Base.js +++ b/src/crypto/verification/Base.js @@ -169,6 +169,10 @@ export default class VerificationBase extends EventEmitter { done() { this._endTimer(); // always kill the activity timer if (!this._done) { + if (this.roomId) { + // verification in DM requires a done message + this._send("m.key.verification.done", {}); + } this._resolve(); } }