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…
Reference in New Issue
Block a user