Merge pull request #6716 from matrix-org/t3chguy/fix/18668

Clear currentRoomId when viewing home page, fixing document title
This commit is contained in:
Michael Telatynski 2021-09-01 09:01:52 +01:00 committed by GitHub
commit 642d8a0ec0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1016,6 +1016,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
this.setStateForNewView({
view: Views.LOGGED_IN,
justRegistered,
currentRoomId: null,
});
this.setPage(PageTypes.HomePage);
this.notifyNewScreen('home');