This promise doesn't exist anymore

This commit is contained in:
David Baker 2020-06-05 18:08:25 +01:00
parent 7c59e39710
commit ed7f0fd95f

View file

@ -1890,7 +1890,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
if (!cryptoEnabled) { if (!cryptoEnabled) {
this.setState({ pendingInitialSync: false }); this.setState({ pendingInitialSync: false });
return setLoggedInPromise; return;
} }
const crossSigningIsSetUp = cli.getStoredCrossSigningForUser(cli.getUserId()); const crossSigningIsSetUp = cli.getStoredCrossSigningForUser(cli.getUserId());