You've already forked matrix-react-sdk
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:
@@ -364,6 +364,9 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
private async postLoginSetup() {
|
private async postLoginSetup() {
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
const cryptoEnabled = cli.isCryptoEnabled();
|
const cryptoEnabled = cli.isCryptoEnabled();
|
||||||
|
if (!cryptoEnabled) {
|
||||||
|
this.onLoggedIn();
|
||||||
|
}
|
||||||
|
|
||||||
const promisesList = [this.firstSyncPromise.promise];
|
const promisesList = [this.firstSyncPromise.promise];
|
||||||
if (cryptoEnabled) {
|
if (cryptoEnabled) {
|
||||||
|
|||||||
Reference in New Issue
Block a user