Skip to content

Commit

Permalink
Remove specified sessionStore
Browse files Browse the repository at this point in the history
  • Loading branch information
Laupetin committed Oct 27, 2023
1 parent 420d0c5 commit 6c14f4a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class MatrixSession {
accessToken: accessToken,
userId: userId,
deviceId: deviceId,
sessionStore: new sdk.WebStorageSessionStore(this.localStorage),
});

cb(null, this.client)
Expand All @@ -58,9 +57,7 @@ class MatrixSession {
accessToken: data.access_token,
userId: data.user_id,
deviceId: data.device_id,
sessionStore: new sdk.WebStorageSessionStore(that.localStorage),
cryptoStore: new LocalStorageCryptoStore(that.localStorage)

});

that.localStorage.setItem("access_token", data.access_token)
Expand Down

0 comments on commit 6c14f4a

Please sign in to comment.