diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-03-31 12:25:39 -0400 |
---|---|---|
committer | Harrison Healey <harrisonmhealey@gmail.com> | 2017-03-31 12:25:39 -0400 |
commit | aba07e5cb9e9b5668c4fb94bfe9f096a26538528 (patch) | |
tree | 4a7348f71da063051cd77677cd37313760e9b9b8 /store/store.go | |
parent | 84826bf5632a9afb2c621b8cbcf935ad03943997 (diff) | |
download | chat-aba07e5cb9e9b5668c4fb94bfe9f096a26538528.tar.gz chat-aba07e5cb9e9b5668c4fb94bfe9f096a26538528.tar.bz2 chat-aba07e5cb9e9b5668c4fb94bfe9f096a26538528.zip |
PLT-5483 Fix bug where flagged posts endpoint returned posts on other teams (#5765)
* Fix bug where flagged posts endpoint returned posts on other teams
* Include flagged posts from DMs/GMs
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go index 6523df0c8..079268b08 100644 --- a/store/store.go +++ b/store/store.go @@ -148,6 +148,7 @@ type PostStore interface { PermanentDeleteByChannel(channelId string) StoreChannel GetPosts(channelId string, offset int, limit int, allowFromCache bool) StoreChannel GetFlaggedPosts(userId string, offset int, limit int) StoreChannel + GetFlaggedPostsForTeam(userId, teamId 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 GetPostsSince(channelId string, time int64, allowFromCache bool) StoreChannel |