Comment on when we start waiting for the first sync
This commit is contained in:
parent
404798d27c
commit
a75dfca73e
1 changed files with 2 additions and 0 deletions
|
@ -1886,6 +1886,8 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||||
promisesList.push(cli.downloadKeys([cli.getUserId()]));
|
promisesList.push(cli.downloadKeys([cli.getUserId()]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Now update the state to sya we're waiting for the first sync to complete rather
|
||||||
|
// than for the login to finish.
|
||||||
this.setState({ pendingInitialSync: true });
|
this.setState({ pendingInitialSync: true });
|
||||||
|
|
||||||
await Promise.all(promisesList);
|
await Promise.all(promisesList);
|
||||||
|
|
Loading…
Reference in a new issue