mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-24 11:42:03 -08: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 {
|
func (b *Bmattermost) JoinChannel(channel string) error {
|
||||||
// we can only join channels using the API
|
// we can only join channels using the API
|
||||||
if b.Config.UseAPI {
|
if b.Config.UseAPI {
|
||||||
return b.mc.JoinChannel(channel)
|
return b.mc.JoinChannel(b.mc.GetChannelId(channel, ""))
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user