Include private channels to search based on current user membership
Make Mattermost API channels search method
( /teams/{team_id}/channels/search )
to include private channels where the current user is a member.
E.g. if the user A is a member of channel B and user A performs channel search, it will get channel B in a response from server if B matches the term.
In Mattermost 5.5.0 search returns only public channels in results. The only way to find channel by display name is to get all channels current user is a member of and iterate over them on client side.
-
Lan Do commented
I need this feature. At the moment, there is no way to list private channel using API or search message in private channels