summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWim <wim@42.be>2016-09-30 22:59:30 +0200
committerWim <wim@42.be>2016-09-30 22:59:30 +0200
commitf10251a1a307255560e83af03c7f4d299e0bd163 (patch)
tree9dd5afacf27afd6233b8ec791404eb86c11699c6
parent0d4bad16a349afcfc4fc890098dc19fc3e20de19 (diff)
downloadmatterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.tar.gz
matterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.tar.bz2
matterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.zip
Fix mattermost bridge channel join
-rw-r--r--bridge/mattermost/mattermost.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index ec81e795..ce506638 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -85,7 +85,7 @@ func (b *Bmattermost) FullOrigin() string {
func (b *Bmattermost) JoinChannel(channel string) error {
// we can only join channels using the API
if b.Config.UseAPI {
- return b.mc.JoinChannel(channel)
+ return b.mc.JoinChannel(b.mc.GetChannelId(channel, ""))
}
return nil
}