mirror of https://github.com/vector-im/riot-web
LifeCycle: Start the event index before the client.
parent
a1cbff3c8c
commit
7fb3645e94
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue