Clear currentRoomId when viewing home page, fixing document title
This commit is contained in:
parent
4e1e304616
commit
4ce79148cf
1 changed files with 1 additions and 0 deletions
|
@ -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');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue