fix tests by reverting if removal
This commit is contained in:
parent
1761a4ec80
commit
fd4109b8ad
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue