LifeCycle: Start the event index before the client.
parent
a1cbff3c8c
commit
7fb3645e94
|
@ -588,8 +588,8 @@ async function startMatrixClient(startSyncing=true) {
|
||||||
Mjolnir.sharedInstance().start();
|
Mjolnir.sharedInstance().start();
|
||||||
|
|
||||||
if (startSyncing) {
|
if (startSyncing) {
|
||||||
await MatrixClientPeg.start();
|
|
||||||
await EventIndexPeg.init();
|
await EventIndexPeg.init();
|
||||||
|
await MatrixClientPeg.start();
|
||||||
} else {
|
} else {
|
||||||
console.warn("Caller requested only auxiliary services be started");
|
console.warn("Caller requested only auxiliary services be started");
|
||||||
await MatrixClientPeg.assign();
|
await MatrixClientPeg.assign();
|
||||||
|
|
Loading…
Reference in New Issue