add missing coma to appease linter

This commit is contained in:
Germain Souquet
2021-05-11 13:02:42 +01:00
parent 72f86258d0
commit e484a2ebb5
+1 -2
View File
@@ -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,
};
}