diff options
Diffstat (limited to 'bridge/mattermost')
-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 } |