mirror of https://github.com/vector-im/riot-web
Merge pull request #6716 from matrix-org/t3chguy/fix/18668
Clear currentRoomId when viewing home page, fixing document titlepull/21833/head
commit
642d8a0ec0
|
@ -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…
Reference in New Issue