diff --git a/src/crypto/OlmDevice.js b/src/crypto/OlmDevice.js index f88d295f0..70292acce 100644 --- a/src/crypto/OlmDevice.js +++ b/src/crypto/OlmDevice.js @@ -126,7 +126,9 @@ OlmDevice.prototype.init = async function() { let e2eKeys; const account = new Olm.Account(); try { - await _initialise_account(this._sessionStore, this._cryptoStore, this._pickleKey, account); + await _initialise_account( + this._sessionStore, this._cryptoStore, this._pickleKey, account, + ); e2eKeys = JSON.parse(account.identity_keys()); this._maxOneTimeKeys = account.max_number_of_one_time_keys(); diff --git a/src/crypto/store/localStorage-crypto-store.js b/src/crypto/store/localStorage-crypto-store.js index 94e7b9c72..a9c5b5845 100644 --- a/src/crypto/store/localStorage-crypto-store.js +++ b/src/crypto/store/localStorage-crypto-store.js @@ -23,7 +23,6 @@ import MemoryCryptoStore from './memory-crypto-store.js'; * some things backed by localStorage. It exists because indexedDB * is broken in Firefox private mode or set to, "will not remember * history". - * * * @module */