mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fix blanking out of FileIds and backwards compatability issue with v3 (#5950)
This commit is contained in:
committed by
Christopher Speller
parent
1fa3f2351c
commit
97de1d0982
@@ -84,7 +84,7 @@ func updatePost(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
post.UserId = c.Session.UserId
|
||||
|
||||
rpost, err := app.UpdatePost(post)
|
||||
rpost, err := app.UpdatePost(post, true)
|
||||
if err != nil {
|
||||
c.Err = err
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user