Merge pull request #4092 from matrix-org/t3chguy/persist
Use Persistent Storage where possible
This commit is contained in:
commit
b1a3d8ad63
3 changed files with 32 additions and 0 deletions
|
@ -65,6 +65,7 @@ import { ThemeWatcher } from "../../theme";
|
|||
import { storeRoomAliasInCache } from '../../RoomAliasCache';
|
||||
import { defer } from "../../utils/promise";
|
||||
import ToastStore from "../../stores/ToastStore";
|
||||
import * as StorageManager from "../../utils/StorageManager";
|
||||
|
||||
/** constants for MatrixChat.state.view */
|
||||
export const VIEWS = {
|
||||
|
@ -1193,6 +1194,8 @@ export default createReactClass({
|
|||
} else {
|
||||
this._showScreenAfterLogin();
|
||||
}
|
||||
|
||||
StorageManager.tryPersistStorage();
|
||||
},
|
||||
|
||||
_showScreenAfterLogin: function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue