diff options
author | Wim <wim@42.be> | 2016-09-30 22:59:30 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-09-30 22:59:30 +0200 |
commit | f10251a1a307255560e83af03c7f4d299e0bd163 (patch) | |
tree | 9dd5afacf27afd6233b8ec791404eb86c11699c6 /bridge/mattermost/mattermost.go | |
parent | 0d4bad16a349afcfc4fc890098dc19fc3e20de19 (diff) | |
download | matterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.tar.gz matterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.tar.bz2 matterbridge-msglm-f10251a1a307255560e83af03c7f4d299e0bd163.zip |
Fix mattermost bridge channel join
Diffstat (limited to 'bridge/mattermost/mattermost.go')
-rw-r--r-- | bridge/mattermost/mattermost.go | 2 |
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 } |