Fix channel autocomplete in search to not include private channels in public section (#1617)
This commit is contained in:
parent
b016d203d8
commit
ac6e5fda79
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ export const filterPublicChannels = createSelector(
|
|||
);
|
||||
} else {
|
||||
channels = myChannels.filter((c) => {
|
||||
return (c.type === General.OPEN_CHANNEL || c.type === General.PRIVATE_CHANNEL);
|
||||
return (c.type === General.OPEN_CHANNEL);
|
||||
}).concat(otherChannels);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue