1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

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