diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-12-20 09:41:04 -0500 |
---|---|---|
committer | enahum <nahumhbl@gmail.com> | 2016-12-20 11:41:04 -0300 |
commit | 148fd01b54776cf7814f2f2370c60e48058c48ec (patch) | |
tree | b7c013faa87bb1c48144588838902297640f799e /api/post.go | |
parent | 927eb659781579c6e5cdddafc5e1a02999cf4571 (diff) | |
download | chat-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.go | 2 |
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 |