Update channel patch to post the correct system messages (#6290)

Этот коммит содержится в:
Joram Wilander
2017-05-03 11:52:36 -04:00
коммит произвёл Corey Hulen
родитель 63b84ce2da
Коммит 88a328421f
2 изменённых файлов: 30 добавлений и 3 удалений

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

@@ -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 {