From f3fc6d11fa11c9b8c73554c79ca55470073bb098 Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Wed, 4 Oct 2017 19:08:59 +0100 Subject: PLT-7218: CLI to move slash commands between teams. (#7574) --- store/store.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'store/store.go') diff --git a/store/store.go b/store/store.go index 9694921c8..bc9aa8f1a 100644 --- a/store/store.go +++ b/store/store.go @@ -7,6 +7,7 @@ import ( "time" l4g "github.com/alecthomas/log4go" + "github.com/mattermost/mattermost-server/model" ) @@ -322,6 +323,7 @@ type CommandStore interface { Save(webhook *model.Command) StoreChannel Get(id string) StoreChannel GetByTeam(teamId string) StoreChannel + GetByTrigger(teamId string, trigger string) StoreChannel Delete(commandId string, time int64) StoreChannel PermanentDeleteByTeam(teamId string) StoreChannel PermanentDeleteByUser(userId string) StoreChannel -- cgit v1.2.3-1-g7c22