diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-05-03 11:52:36 -0400 |
---|---|---|
committer | Corey Hulen <corey@hulen.com> | 2017-05-03 08:52:36 -0700 |
commit | 88a328421fbfc2db2a1747da955deea68e86da2a (patch) | |
tree | 132bb987bd2c3f392d5537cdde821dce5ec8e823 /api4/channel.go | |
parent | 63b84ce2dad5f5f9cd291dc85c529f56c3aa6d4b (diff) | |
download | chat-88a328421fbfc2db2a1747da955deea68e86da2a.tar.gz chat-88a328421fbfc2db2a1747da955deea68e86da2a.tar.bz2 chat-88a328421fbfc2db2a1747da955deea68e86da2a.zip |
Update channel patch to post the correct system messages (#6290)
Diffstat (limited to 'api4/channel.go')
-rw-r--r-- | api4/channel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go index c8235c5f1..493b012a0 100644 --- a/api4/channel.go +++ b/api4/channel.go @@ -170,7 +170,7 @@ func patchChannel(c *Context, w http.ResponseWriter, r *http.Request) { return } - if rchannel, err := app.PatchChannel(oldChannel, patch); err != nil { + if rchannel, err := app.PatchChannel(oldChannel, patch, c.Session.UserId); err != nil { c.Err = err return } else { |