summaryrefslogtreecommitdiffstats
path: root/matterhook
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-06-23 20:29:51 +0200
committerWim <wim@42.be>2016-06-23 20:29:51 +0200
commit78b17977c550978f0d07ae379a37d73b7baa863f (patch)
tree0470b4b58a094ec2beffd534491ef81b87981901 /matterhook
parent6ec77e06eaecc9b0567e1c67e9255da448fa4b2f (diff)
downloadmatterbridge-msglm-78b17977c550978f0d07ae379a37d73b7baa863f.tar.gz
matterbridge-msglm-78b17977c550978f0d07ae379a37d73b7baa863f.tar.bz2
matterbridge-msglm-78b17977c550978f0d07ae379a37d73b7baa863f.zip
Fix mattermost 3.1.0 API change. Closes #24
Diffstat (limited to 'matterhook')
-rw-r--r--matterhook/matterhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/matterhook/matterhook.go b/matterhook/matterhook.go
index 0b023d39..f30d44b7 100644
--- a/matterhook/matterhook.go
+++ b/matterhook/matterhook.go
@@ -31,11 +31,11 @@ type IMessage struct {
TeamID string `schema:"team_id"`
TeamDomain string `schema:"team_domain"`
ChannelID string `schema:"channel_id"`
- ServiceID string `schema:"service_id"`
ChannelName string `schema:"channel_name"`
Timestamp string `schema:"timestamp"`
UserID string `schema:"user_id"`
UserName string `schema:"user_name"`
+ PostId string `schema:"post_id"`
Text string `schema:"text"`
TriggerWord string `schema:"trigger_word"`
}