mirror of https://github.com/vector-im/riot-web
Fix lifecycle to reset things before it starts them
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
08fadb092c
commit
a977b8c4ca
|
@ -575,10 +575,12 @@ async function startMatrixClient(startSyncing=true) {
|
|||
// to work).
|
||||
dis.dispatch({action: 'will_start_client'}, true);
|
||||
|
||||
// reset things first just in case
|
||||
TypingStore.sharedInstance().reset();
|
||||
ToastStore.sharedInstance().reset();
|
||||
|
||||
Notifier.start();
|
||||
UserActivity.sharedInstance().start();
|
||||
TypingStore.sharedInstance().reset(); // just in case
|
||||
ToastStore.sharedInstance().reset();
|
||||
DMRoomMap.makeShared().start();
|
||||
IntegrationManagers.sharedInstance().startWatching();
|
||||
ActiveWidgetStore.start();
|
||||
|
|
Loading…
Reference in New Issue