summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-04-04 15:17:47 -0400
committerChristopher Speller <crspeller@gmail.com>2017-04-04 15:17:47 -0400
commit97de1d0982ddb4818f5e41527f4d7da2234e829f (patch)
treecd48347c553b954eea8cca6daec689cbe02249f4 /api/post.go
parent1fa3f2351c98e4d1b9c198e357d90ac0d436dcaa (diff)
downloadchat-97de1d0982ddb4818f5e41527f4d7da2234e829f.tar.gz
chat-97de1d0982ddb4818f5e41527f4d7da2234e829f.tar.bz2
chat-97de1d0982ddb4818f5e41527f4d7da2234e829f.zip
Fix blanking out of FileIds and backwards compatability issue with v3 (#5950)
Diffstat (limited to 'api/post.go')
-rw-r--r--api/post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go
index 27efcd44c..bfc68a0d0 100644
--- a/api/post.go
+++ b/api/post.go
@@ -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