Этот коммит содержится в:
Jason Mojica
2018-10-15 12:23:46 -04:00
коммит произвёл Christopher Speller
родитель 9385dc750d
Коммит 9da4aba3f2
4 изменённых файлов: 62 добавлений и 0 удалений

Просмотреть файл

@@ -245,6 +245,10 @@ func (api *PluginAPI) UpdateChannel(channel *model.Channel) (*model.Channel, *mo
return api.app.UpdateChannel(channel)
}
func (api *PluginAPI) SearchChannels(teamId string, term string) (*model.ChannelList, *model.AppError) {
return api.app.SearchChannels(teamId, term)
}
func (api *PluginAPI) AddChannelMember(channelId, userId string) (*model.ChannelMember, *model.AppError) {
// For now, don't allow overriding these via the plugin API.
userRequestorId := ""