1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

LifeCycle: Start the event index before the client.

This commit is contained in:
Damir Jelić
2020-01-15 12:06:29 +01:00
parent a1cbff3c8c
commit 7fb3645e94

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();