diff options
Diffstat (limited to 'api/post.go')
-rw-r--r-- | api/post.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/post.go b/api/post.go index e0cfb720c..192dc0abc 100644 --- a/api/post.go +++ b/api/post.go @@ -135,7 +135,7 @@ func saveIsPinnedPost(c *Context, w http.ResponseWriter, r *http.Request, isPinn rpost := result.Data.(*model.Post) message := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_POST_EDITED, "", rpost.ChannelId, "", nil) - message.Add("post", rpost.ToJson()) + message.Add("post", c.App.PostWithProxyAddedToImageURLs(rpost).ToJson()) c.App.Go(func() { c.App.Publish(message) |