diff options
Diffstat (limited to 'api4/post.go')
-rw-r--r-- | api4/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/post.go b/api4/post.go index 6500cba32..7c116b7c7 100644 --- a/api4/post.go +++ b/api4/post.go @@ -58,7 +58,7 @@ func createPost(c *Context, w http.ResponseWriter, r *http.Request) { post.CreateAt = 0 } - rp, err := c.App.CreatePostAsUser(c.App.PostWithProxyRemovedFromImageURLs(post)) + rp, err := c.App.CreatePostAsUser(c.App.PostWithProxyRemovedFromImageURLs(post), !c.Session.IsMobileApp()) if err != nil { c.Err = err return |