mirror of
https://github.com/42wim/matterbridge.git
synced 2024-05-06 15:54:56 +00:00
Fix mattermost bridge channel join
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user