Skip to content

Commit

Permalink
Fix suggested rooms going missing (#9236)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Sep 2, 2022
1 parent ea0622a commit 219f4fa
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/components/views/rooms/RoomList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 219f4fa

Please sign in to comment.