Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Browse files Browse the repository at this point in the history
Clear currentRoomId when viewing home page, fixing document title
  • Loading branch information
t3chguy authored Sep 1, 2021
2 parents 7621a9a + 4ce7914 commit 642d8a0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/structures/MatrixChat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 642d8a0

Please sign in to comment.