Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 219f4fa

Browse files
authored
Fix suggested rooms going missing (#9236)
1 parent ea0622a commit 219f4fa

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/components/views/rooms/RoomList.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -592,12 +592,8 @@ export default class RoomList extends React.PureComponent<IProps, IState> {
592592
let extraTiles = null;
593593
if (orderedTagId === DefaultTagID.Suggested) {
594594
extraTiles = this.renderSuggestedRooms();
595-
}
596-
597-
if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
595+
} else if (this.state.feature_favourite_messages && orderedTagId === DefaultTagID.SavedItems) {
598596
extraTiles = this.renderFavoriteMessagesList();
599-
} else {
600-
extraTiles = null;
601597
}
602598

603599
const aesthetics = TAG_AESTHETICS[orderedTagId];

0 commit comments

Comments
 (0)