mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-12 07:56:18 +02:00
fix tests by reverting if removal
This commit is contained in:
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…
x
Reference in New Issue
Block a user