From f10251a1a307255560e83af03c7f4d299e0bd163 Mon Sep 17 00:00:00 2001 From: Wim Date: Fri, 30 Sep 2016 22:59:30 +0200 Subject: Fix mattermost bridge channel join --- bridge/mattermost/mattermost.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/mattermost') 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 } -- cgit v1.2.3