summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorRobin Naundorf <r.naundorf@fh-muenster.de>2017-05-09 14:52:46 +0200
committerJoram Wilander <jwawilander@gmail.com>2017-05-09 07:52:46 -0500
commit5efcd2d9d3fb91ae7475918b807b7947b533da9b (patch)
tree7f1c0bfe5ca751b27b6a520f63cd20e280377d85 /store/store.go
parent530814b8c9b1b47dd6eb05e70548c61d75da9a23 (diff)
downloadchat-5efcd2d9d3fb91ae7475918b807b7947b533da9b.tar.gz
chat-5efcd2d9d3fb91ae7475918b807b7947b533da9b.tar.bz2
chat-5efcd2d9d3fb91ae7475918b807b7947b533da9b.zip
Add API Endpoint for deleted Channels (#5889)
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index 78dc4308b..bb1b8f197 100644
--- a/store/store.go
+++ b/store/store.go
@@ -103,6 +103,7 @@ type ChannelStore interface {
GetByName(team_id string, name string, allowFromCache bool) StoreChannel
GetByNameIncludeDeleted(team_id string, name string, allowFromCache bool) StoreChannel
GetDeletedByName(team_id string, name string) StoreChannel
+ GetDeleted(team_id string, offset int, limit int) StoreChannel
GetChannels(teamId string, userId string) StoreChannel
GetMoreChannels(teamId string, userId string, offset int, limit int) StoreChannel
GetPublicChannelsForTeam(teamId string, offset int, limit int) StoreChannel