Clear currentRoomId when viewing home page, fixing document title

This commit is contained in:
Michael Telatynski 2021-08-31 17:14:50 +01:00
parent 4e1e304616
commit 4ce79148cf

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