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
de-lint LifecycleStore
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -141,7 +141,6 @@ src/RoomListSorter.js
|
||||
src/Rooms.js
|
||||
src/ScalarAuthClient.js
|
||||
src/ScalarMessaging.js
|
||||
src/stores/LifecycleStore.js
|
||||
src/TabComplete.js
|
||||
src/TabCompleteEntries.js
|
||||
src/TextForEvent.js
|
||||
|
||||
@@ -50,7 +50,7 @@ class LifecycleStore extends Store {
|
||||
deferred_action: null,
|
||||
});
|
||||
break;
|
||||
case 'sync_state':
|
||||
case 'sync_state': {
|
||||
if (payload.state !== 'PREPARED') {
|
||||
break;
|
||||
}
|
||||
@@ -61,6 +61,7 @@ class LifecycleStore extends Store {
|
||||
});
|
||||
dis.dispatch(deferredAction);
|
||||
break;
|
||||
}
|
||||
case 'on_logged_out':
|
||||
this.reset();
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user