mirror of https://github.com/vector-im/riot-web
92762eca74
Don't clear localstorage when replacing the client: we clear it when logging out so this is just redundant, and since we now use replaceClient to unpickle a session from localstorage, this was blowing away all our setting on every refresh. Also Move all of the localstorage code to Lifecycle (except device ID but this will probably be generated on the server soon anyway). We previously cleared localstorage on logout in Lifecycle so persist the session in Lifecycle.setLoggedIn() to be symmetrical. |
||
---|---|---|
.. | ||
autocomplete | ||
components | ||
AddThreepid.js | ||
Avatar.js | ||
CallHandler.js | ||
ContentMessages.js | ||
DateUtils.js | ||
Entities.js | ||
HtmlUtils.js | ||
ImageUtils.js | ||
KeyCode.js | ||
Lifecycle.js | ||
MatrixClientPeg.js | ||
MatrixTools.js | ||
Modal.js | ||
Notifier.js | ||
ObjectUtils.js | ||
PasswordReset.js | ||
Presence.js | ||
Resend.js | ||
RichText.js | ||
RoomListSorter.js | ||
ScalarAuthClient.js | ||
SdkConfig.js | ||
Signup.js | ||
SignupStages.js | ||
Skinner.js | ||
SlashCommands.js | ||
TabComplete.js | ||
TabCompleteEntries.js | ||
TextForEvent.js | ||
Tinter.js | ||
UiEffects.js | ||
Unread.js | ||
UserActivity.js | ||
UserSettingsStore.js | ||
Velociraptor.js | ||
VelocityBounce.js | ||
WhoIsTyping.js | ||
component-index.js | ||
createRoom.js | ||
dispatcher.js | ||
email.js | ||
extend.js | ||
index.js | ||
linkify-matrix.js | ||
ratelimitedfunc.js |