mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-01-27 04:44:38 +00:00
Fix mattermost bridge channel join
This commit is contained in:
parent
0d4bad16a3
commit
f10251a1a3
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user