Skip to content

Commit

Permalink
Fix crypto store
Browse files Browse the repository at this point in the history
  • Loading branch information
julburg committed Dec 17, 2021
1 parent 426f0cf commit 375b53b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/session.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const sdk = require("matrix-js-sdk");
const {
LocalStorageCryptoStore,
} = require('matrix-js-sdk/lib/crypto/store/localStorage-crypto-store');
const {
LocalStorageCryptoStore,
} = require('matrix-js-sdk/lib/crypto/store/localStorage-crypto-store');


class MatrixSession {
Expand Down Expand Up @@ -59,7 +59,7 @@ class MatrixSession {
userId: data.user_id,
deviceId: data.device_id,
sessionStore: new sdk.WebStorageSessionStore(that.localStorage),
cryptoStore: new LocalStorageCryptoStore(localStorage)
cryptoStore: new LocalStorageCryptoStore(that.localStorage)

});

Expand Down

0 comments on commit 375b53b

Please sign in to comment.