1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

fix tests by reverting if removal

This commit is contained in:
Michael Telatynski
2021-01-28 11:00:04 +00:00
parent 1761a4ec80
commit fd4109b8ad

View File

@@ -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) {