Skip to content

Commit

Permalink
Regression: discussions display on sidebar (#22157)
Browse files Browse the repository at this point in the history
  • Loading branch information
Douglas Fabris authored May 27, 2021
1 parent 9aa4408 commit d6f510b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/sidebar/hooks/useRoomList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const useRoomList = (): Array<ISubscription> => {
return team.add(room);
}

if (isDiscussionEnabled && room.prid) {
if (sidebarGroupByType && isDiscussionEnabled && room.prid) {
return discussion.add(room);
}

Expand Down

0 comments on commit d6f510b

Please sign in to comment.