diff options
Diffstat (limited to 'app/plugin_api.go')
-rw-r--r-- | app/plugin_api.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/plugin_api.go b/app/plugin_api.go index 1deb45802..c57ca9eb5 100644 --- a/app/plugin_api.go +++ b/app/plugin_api.go @@ -237,6 +237,10 @@ func (api *PluginAPI) GetChannelByNameForTeamName(teamName, channelName string, return api.app.GetChannelByNameForTeamName(channelName, teamName, includeDeleted) } +func (api *PluginAPI) GetChannelsForTeamForUser(teamId, userId string, includeDeleted bool) (*model.ChannelList, *model.AppError) { + return api.app.GetChannelsForUser(teamId, userId, includeDeleted) +} + func (api *PluginAPI) GetDirectChannel(userId1, userId2 string) (*model.Channel, *model.AppError) { return api.app.GetDirectChannel(userId1, userId2) } |