Skip to content

Commit 332ab5a

Browse files
Laupetinxurizaemon
authored andcommitted
Remove specified sessionStore
See: matrix-org/matrix-js-sdk#2455
1 parent 339b6db commit 332ab5a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/session.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ class MatrixSession {
3333
accessToken: accessToken,
3434
userId: userId,
3535
deviceId: deviceId,
36-
sessionStore: new sdk.WebStorageSessionStore(this.localStorage),
3736
});
3837

3938
cb(null, this.client)
@@ -58,9 +57,7 @@ class MatrixSession {
5857
accessToken: data.access_token,
5958
userId: data.user_id,
6059
deviceId: data.device_id,
61-
sessionStore: new sdk.WebStorageSessionStore(that.localStorage),
6260
cryptoStore: new LocalStorageCryptoStore(that.localStorage)
63-
6461
});
6562

6663
that.localStorage.setItem("access_token", data.access_token)

0 commit comments

Comments
 (0)