LifeCycle: Start the event index before the client.

pull/21833/head
Damir Jelić 2020-01-15 12:06:29 +01:00
parent a1cbff3c8c
commit 7fb3645e94
1 changed files with 1 additions and 1 deletions

View File

@ -588,8 +588,8 @@ async function startMatrixClient(startSyncing=true) {
Mjolnir.sharedInstance().start();
if (startSyncing) {
await MatrixClientPeg.start();
await EventIndexPeg.init();
await MatrixClientPeg.start();
} else {
console.warn("Caller requested only auxiliary services be started");
await MatrixClientPeg.assign();