diff options
Diffstat (limited to 'api/channel.go')
-rw-r--r-- | api/channel.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/api/channel.go b/api/channel.go index 4d8dbad09..a05aa0a3c 100644 --- a/api/channel.go +++ b/api/channel.go @@ -710,6 +710,10 @@ func removeChannelMember(c *Context, w http.ResponseWriter, r *http.Request) { return } + message := model.NewMessage(c.Session.TeamId, "", userId, model.ACTION_USER_REMOVED) + message.Add("channel_id",id) + PublishAndForget(message) + c.LogAudit("name=" + channel.Name + " user_id=" + userId) result := make(map[string]string) |