Regression: discussions display on sidebar (#22157)

pull/22167/head
Douglas Fabris 5 years ago committed by GitHub
parent 9aa4408acd
commit d6f510b9c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      client/sidebar/hooks/useRoomList.ts

@ -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);
}

Loading…
Cancel
Save