From fd4109b8ad61e37f089d12b2d421a85b67522cdc Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 28 Jan 2021 11:00:04 +0000 Subject: [PATCH] fix tests by reverting if removal --- src/components/structures/MatrixChat.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/components/structures/MatrixChat.tsx b/src/components/structures/MatrixChat.tsx index 2f6c5bf353..9520815134 100644 --- a/src/components/structures/MatrixChat.tsx +++ b/src/components/structures/MatrixChat.tsx @@ -364,6 +364,9 @@ export default class MatrixChat extends React.PureComponent { private async postLoginSetup() { const cli = MatrixClientPeg.get(); const cryptoEnabled = cli.isCryptoEnabled(); + if (!cryptoEnabled) { + this.onLoggedIn(); + } const promisesList = [this.firstSyncPromise.promise]; if (cryptoEnabled) {