Update channel patch to post the correct system messages (#6290)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
63b84ce2da
Коммит
88a328421f
@@ -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 {
|
||||
|
||||
Ссылка в новой задаче
Block a user