Clear currentRoomId when viewing home page, fixing document title

pull/21833/head
Michael Telatynski 2021-08-31 17:14:50 +01:00
parent 4e1e304616
commit 4ce79148cf
1 changed files with 1 additions and 0 deletions

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');