From 4a073a7ba526c3cdbb9bda95f6ff4e50f63ed045 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Tue, 19 Jan 2021 15:36:08 +0000 Subject: [PATCH] Fix lint --- src/crypto/algorithms/megolm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/algorithms/megolm.js b/src/crypto/algorithms/megolm.js index d295c054a..d2e4e86fb 100644 --- a/src/crypto/algorithms/megolm.js +++ b/src/crypto/algorithms/megolm.js @@ -851,7 +851,7 @@ MegolmEncryption.prototype.prepareToEncrypt = function(room) { // We're already preparing something, so don't do anything else. // FIXME: check if we need to restart // (https://github.com/matrix-org/matrix-js-sdk/issues/1255) - const elapsedTime = Date.now() - this.encryptionPreparationMetadata.startTime + const elapsedTime = Date.now() - this.encryptionPreparationMetadata.startTime; logger.debug( `Already started preparing to encrypt for ${this._roomId} ` + `${elapsedTime} ms ago, skipping`,