You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Fix right panel soft crashes due to missing room prop (#7923)
This commit is contained in:
committed by
GitHub
parent
36adba101c
commit
7a32a68a0b
@@ -983,7 +983,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
||||
this.viewWelcome();
|
||||
return;
|
||||
}
|
||||
if (!this.state.currentGroupId && !this.state.currentRoomId) {
|
||||
if (!this.state.currentGroupId && !this.state.currentRoomId && !this.state.currentUserId) {
|
||||
this.viewHome();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user