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

Commit

Permalink
Clear currentRoomId when viewing home page, fixing document title
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Aug 31, 2021
1 parent 4e1e304 commit 4ce7914
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 4ce7914

Please sign in to comment.