mirror of https://github.com/vector-im/riot-web
fix tests by reverting if removal
parent
1761a4ec80
commit
fd4109b8ad
|
@ -364,6 +364,9 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||
private async postLoginSetup() {
|
||||
const cli = MatrixClientPeg.get();
|
||||
const cryptoEnabled = cli.isCryptoEnabled();
|
||||
if (!cryptoEnabled) {
|
||||
this.onLoggedIn();
|
||||
}
|
||||
|
||||
const promisesList = [this.firstSyncPromise.promise];
|
||||
if (cryptoEnabled) {
|
||||
|
|
Loading…
Reference in New Issue