1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-01 04:43:29 +03:00
This commit is contained in:
David Baker
2017-11-22 16:53:21 +00:00
parent 9218e518f1
commit 44b35cdb3d
2 changed files with 3 additions and 2 deletions

View File

@@ -126,7 +126,9 @@ OlmDevice.prototype.init = async function() {
let e2eKeys; let e2eKeys;
const account = new Olm.Account(); const account = new Olm.Account();
try { 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()); e2eKeys = JSON.parse(account.identity_keys());
this._maxOneTimeKeys = account.max_number_of_one_time_keys(); this._maxOneTimeKeys = account.max_number_of_one_time_keys();

View File

@@ -24,7 +24,6 @@ import MemoryCryptoStore from './memory-crypto-store.js';
* is broken in Firefox private mode or set to, "will not remember * is broken in Firefox private mode or set to, "will not remember
* history". * history".
* *
*
* @module * @module
*/ */