de-lint LifecycleStore

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-07-01 14:35:40 +01:00
parent a270c85295
commit 68fb11d2bf
No known key found for this signature in database
GPG Key ID: 0435A1D4BBD34D64
2 changed files with 2 additions and 2 deletions

View File

@ -141,7 +141,6 @@ src/RoomListSorter.js
src/Rooms.js src/Rooms.js
src/ScalarAuthClient.js src/ScalarAuthClient.js
src/ScalarMessaging.js src/ScalarMessaging.js
src/stores/LifecycleStore.js
src/TabComplete.js src/TabComplete.js
src/TabCompleteEntries.js src/TabCompleteEntries.js
src/TextForEvent.js src/TextForEvent.js

View File

@ -50,7 +50,7 @@ class LifecycleStore extends Store {
deferred_action: null, deferred_action: null,
}); });
break; break;
case 'sync_state': case 'sync_state': {
if (payload.state !== 'PREPARED') { if (payload.state !== 'PREPARED') {
break; break;
} }
@ -61,6 +61,7 @@ class LifecycleStore extends Store {
}); });
dis.dispatch(deferredAction); dis.dispatch(deferredAction);
break; break;
}
case 'on_logged_out': case 'on_logged_out':
this.reset(); this.reset();
break; break;