Skip to content

Commit 0b426c8

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 5de9d5d commit 0b426c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/structures/MatrixChat.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
14121412
// so show the homepage.
14131413
dis.dispatch<ViewHomePagePayload>({ action: Action.ViewHomePage, justRegistered: true });
14141414
}
1415-
} else if (!(await this.shouldForceVerification())) {
1415+
} else {
14161416
this.showScreenAfterLogin();
14171417
}
14181418

0 commit comments

Comments
 (0)