summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorMartin Kraft <mkraft@users.noreply.github.com>2018-06-01 12:45:46 -0400
committerGitHub <noreply@github.com>2018-06-01 12:45:46 -0400
commit260d7a0f850a6f772b14b011022f1f65213a08a1 (patch)
tree1090ef2c0c1447be9e64baecd0d7336514922927 /store/store.go
parent5992a729c50989b7a39e42a0aaed42bc3914fb13 (diff)
downloadchat-260d7a0f850a6f772b14b011022f1f65213a08a1.tar.gz
chat-260d7a0f850a6f772b14b011022f1f65213a08a1.tar.bz2
chat-260d7a0f850a6f772b14b011022f1f65213a08a1.zip
MM-10412: Adds deleteBy prop to posts. (#8896)
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 bfc0ab845..d8b875459 100644
--- a/store/store.go
+++ b/store/store.go
@@ -181,7 +181,7 @@ type PostStore interface {
Update(newPost *model.Post, oldPost *model.Post) StoreChannel
Get(id string) StoreChannel
GetSingle(id string) StoreChannel
- Delete(postId string, time int64) StoreChannel
+ Delete(postId string, time int64, deleteByID string) StoreChannel
PermanentDeleteByUser(userId string) StoreChannel
PermanentDeleteByChannel(channelId string) StoreChannel
GetPosts(channelId string, offset int, limit int, allowFromCache bool) StoreChannel