summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-22 18:14:54 -0500
committerCorey Hulen <corey@hulen.com>2016-12-22 15:14:54 -0800
commitffd6ccde2ed4b1d374d0835c5638a189df60a679 (patch)
tree5b67ceff84678b04cdae08cef554086c4145324e /store/store.go
parentca61b4bed94ea98530bf4f1b2f7585fe86ef80cd (diff)
downloadchat-ffd6ccde2ed4b1d374d0835c5638a189df60a679.tar.gz
chat-ffd6ccde2ed4b1d374d0835c5638a189df60a679.tar.bz2
chat-ffd6ccde2ed4b1d374d0835c5638a189df60a679.zip
Adding caching of last 60 posts. (#4880)
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go
index 643fe925a..8521713d5 100644
--- a/store/store.go
+++ b/store/store.go
@@ -127,7 +127,7 @@ type PostStore interface {
Get(id string) StoreChannel
Delete(postId string, time int64) StoreChannel
PermanentDeleteByUser(userId string) StoreChannel
- GetPosts(channelId string, offset int, limit int) StoreChannel
+ GetPosts(channelId string, offset int, limit int, allowFromCache bool) StoreChannel
GetFlaggedPosts(userId string, offset int, limit int) StoreChannel
GetPostsBefore(channelId string, postId string, numPosts int, offset int) StoreChannel
GetPostsAfter(channelId string, postId string, numPosts int, offset int) StoreChannel