You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
Yet another fix to session saving
I've written tests this time, and everything.
This commit is contained in:
@@ -165,7 +165,7 @@ export function setLoggedIn(credentials) {
|
||||
// persist the session
|
||||
if (localStorage) {
|
||||
try {
|
||||
localStorage.setItem("mx_hs_url", credentials.homseserverUrl);
|
||||
localStorage.setItem("mx_hs_url", credentials.homeserverUrl);
|
||||
localStorage.setItem("mx_is_url", credentials.identityServerUrl);
|
||||
|
||||
localStorage.setItem("mx_user_id", credentials.userId);
|
||||
|
||||
Reference in New Issue
Block a user