commit 8d1962ff3b03dc548e0864ff5c98b39a19d76d0f
Author: Wim <wim@42.be>
Date: Fri Sep 30 22:59:30 2016 +0000
diff --git a/bridge/mattermost/mattermost.go b/bridge/mattermost/mattermost.go
index ec81e79..ce50663 100644
--- a/bridge/mattermost/mattermost.go
+++ b/bridge/mattermost/mattermost.go
@@ -857 +857 @@ 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
}