Skip to content

Commit 12399c7

Browse files
committed
Remove redundant check for force_verification
This doesn't seem to be neccesary, since MatrixChat isn't actually loaded until we have successfully verified. Further, the check means that the app doesn't load correctly when force_verification is set: #31203
1 parent b7de7d3 commit 12399c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/structures/MatrixChat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1446,7 +1446,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
14461446
// so show the homepage.
14471447
dis.dispatch<ViewHomePagePayload>({ action: Action.ViewHomePage, justRegistered: true });
14481448
}
1449-
} else if (!(await this.shouldForceVerification())) {
1449+
} else {
14501450
this.showScreenAfterLogin();
14511451
}
14521452

0 commit comments

Comments
 (0)