summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorJonathan <jonfritz@gmail.com>2017-12-05 16:32:23 -0500
committerGitHub <noreply@github.com>2017-12-05 16:32:23 -0500
commitc171872472672d129e1e4dbc99930d75a4cd59c7 (patch)
treedde4e50cf563b8356afdade6255b8f9e22b9de9a /store/store.go
parente7725106ed5b435c625a63691d99acc197a2106a (diff)
downloadchat-c171872472672d129e1e4dbc99930d75a4cd59c7.tar.gz
chat-c171872472672d129e1e4dbc99930d75a4cd59c7.tar.bz2
chat-c171872472672d129e1e4dbc99930d75a4cd59c7.zip
PLT-8233: Purge ChannelMemberHistory Data when Data Retention Job runs (#7937)
* Changed the channel member history purge function to match pattern established by other data retention purge methods * Simplifying the channel member history store and associated tests * Regenerating mocks * Using a constant
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 c95888c22..6ca07c294 100644
--- a/store/store.go
+++ b/store/store.go
@@ -165,7 +165,7 @@ type ChannelMemberHistoryStore interface {
LogJoinEvent(userId string, channelId string, joinTime int64) StoreChannel
LogLeaveEvent(userId string, channelId string, leaveTime int64) StoreChannel
GetUsersInChannelDuring(startTime int64, endTime int64, channelId string) StoreChannel
- PurgeHistoryBefore(time int64, channelId string) StoreChannel
+ PermanentDeleteBatch(endTime int64, limit int64) StoreChannel
}
type PostStore interface {