summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorAlexander Smaga <smagaan@gmail.com>2016-10-17 15:12:56 +0300
committerChristopher Speller <crspeller@gmail.com>2016-10-17 08:12:56 -0400
commite7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d (patch)
tree9dfad731f8a4320e72e287732b50f46946ce76fe /store/store.go
parentb1e2b23b882ec062cfd7209abeed417eb07e121e (diff)
downloadchat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.tar.gz
chat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.tar.bz2
chat-e7b25f4cd8b7d87b99153fd4a901d3f9f92d7b0d.zip
GH-4187 Create direct channel during incoming webhook if not exists (#4206)
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 c01b6d8bc..7474d3afb 100644
--- a/store/store.go
+++ b/store/store.go
@@ -75,6 +75,7 @@ type TeamStore interface {
type ChannelStore interface {
Save(channel *model.Channel) StoreChannel
+ CreateDirectChannel(userId string, otherUserId string) StoreChannel
SaveDirectChannel(channel *model.Channel, member1 *model.ChannelMember, member2 *model.ChannelMember) StoreChannel
Update(channel *model.Channel) StoreChannel
Get(id string) StoreChannel