summaryrefslogtreecommitdiffstats
path: root/app/plugin_api.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/plugin_api.go')
-rw-r--r--app/plugin_api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/plugin_api.go b/app/plugin_api.go
index 20a27316f..4fc8126f1 100644
--- a/app/plugin_api.go
+++ b/app/plugin_api.go
@@ -251,7 +251,7 @@ func (api *PluginAPI) AddChannelMember(channelId, userId string) (*model.Channel
return nil, err
}
- return api.app.AddChannelMember(userId, channel, userRequestorId, postRootId)
+ return api.app.AddChannelMember(userId, channel, userRequestorId, postRootId, false)
}
func (api *PluginAPI) GetChannelMember(channelId, userId string) (*model.ChannelMember, *model.AppError) {