From 88a328421fbfc2db2a1747da955deea68e86da2a Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Wed, 3 May 2017 11:52:36 -0400 Subject: Update channel patch to post the correct system messages (#6290) --- api4/channel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api4') 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 { -- cgit v1.2.3-1-g7c22