Merge pull request #5932 from matrix-org/t3chguy/fix/17080

Fix suggested rooms not showing up regression from room list optimisation
This commit is contained in:
Michael Telatynski 2021-04-27 16:49:52 +01:00 committed by GitHub
commit 28d3a0c09b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -763,7 +763,9 @@ export default class RoomSublist extends React.Component<IProps, IState> {
'mx_RoomSublist': true,
'mx_RoomSublist_hasMenuOpen': !!this.state.contextMenuPosition,
'mx_RoomSublist_minimized': this.props.isMinimized,
'mx_RoomSublist_hidden': !this.state.rooms.length && this.props.alwaysVisible !== true,
'mx_RoomSublist_hidden': (
!this.state.rooms.length && !this.props.extraTiles?.length && this.props.alwaysVisible !== true
),
});
let content = null;