Fix suggested rooms going missing (#9236)

t3chguy/dedup-icons-17oct
Michael Telatynski 2022-09-02 14:04:16 +01:00 committed by GitHub
parent ea0622a48e
commit 219f4fae3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 5 deletions

View File

@ -592,12 +592,8 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
let extraTiles = null;
if (orderedTagId === DefaultTagID.Suggested) {
extraTiles = this.renderSuggestedRooms();
}
if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
} else if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
extraTiles = this.renderFavoriteMessagesList();
} else {
extraTiles = null;
}
const aesthetics = TAG_AESTHETICS[orderedTagId];