Skip to content

Commit 138cf57

Browse files
committed
Don't show the after-login screen if we are racing with forced verification
1 parent 8b7cb62 commit 138cf57

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
@@ -1388,7 +1388,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
13881388
// so show the homepage.
13891389
dis.dispatch<ViewHomePagePayload>({ action: Action.ViewHomePage, justRegistered: true });
13901390
}
1391-
} else {
1391+
} else if (!(await this.shouldForceVerification())) {
13921392
this.showScreenAfterLogin();
13931393
}
13941394

0 commit comments

Comments
 (0)