From e484a2ebb580176b7cf902adaef8be9fff5fe4b4 Mon Sep 17 00:00:00 2001 From: Germain Souquet Date: Tue, 11 May 2021 13:02:42 +0100 Subject: [PATCH] add missing coma to appease linter --- src/models/event.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/models/event.js b/src/models/event.js index 04801ca58..c2bd94724 100644 --- a/src/models/event.js +++ b/src/models/event.js @@ -421,12 +421,11 @@ utils.extend(MatrixEvent.prototype, { * attempt is completed. */ attemptDecryption: async function(crypto, options = {}) { - // For backwards compatibility purposes // The function signature used to be attemptDecryption(crypto, isRetry) if (typeof options === "boolean") { options = { - isRetry: options + isRetry: options, }; }