1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-10 09:22:25 +03:00

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

View File

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