summaryrefslogtreecommitdiffstats
path: root/api/post.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-20 09:41:04 -0500
committerenahum <nahumhbl@gmail.com>2016-12-20 11:41:04 -0300
commit148fd01b54776cf7814f2f2370c60e48058c48ec (patch)
treeb7c013faa87bb1c48144588838902297640f799e /api/post.go
parent927eb659781579c6e5cdddafc5e1a02999cf4571 (diff)
downloadchat-148fd01b54776cf7814f2f2370c60e48058c48ec.tar.gz
chat-148fd01b54776cf7814f2f2370c60e48058c48ec.tar.bz2
chat-148fd01b54776cf7814f2f2370c60e48058c48ec.zip
Modifying post etag cache to apply to getPostsSince (#4837)
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 1b855cab9..00cf21dda 100644
--- a/api/post.go
+++ b/api/post.go
@@ -1324,7 +1324,7 @@ func getPostsSince(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
- pchan := Srv.Store.Post().GetPostsSince(id, time)
+ pchan := Srv.Store.Post().GetPostsSince(id, time, true)
if !HasPermissionToChannelContext(c, id, model.PERMISSION_READ_CHANNEL) {
return