summaryrefslogtreecommitdiffstats
path: root/api4/channel.go
diff options
context:
space:
mode:
Diffstat (limited to 'api4/channel.go')
-rw-r--r--api4/channel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api4/channel.go b/api4/channel.go
index f8a069ea0..9801c9dc0 100644
--- a/api4/channel.go
+++ b/api4/channel.go
@@ -386,7 +386,7 @@ func getPinnedPosts(c *Context, w http.ResponseWriter, r *http.Request) {
return
} else {
w.Header().Set(model.HEADER_ETAG_SERVER, posts.Etag())
- w.Write([]byte(posts.ToJson()))
+ w.Write([]byte(c.App.PostListWithProxyAddedToImageURLs(posts).ToJson()))
}
}