mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-06-26 01:49:22 +00:00
Return channelId for other channeltypes too (mattermost)
This commit is contained in:
@ -51,8 +51,11 @@ func (m *MMClient) GetChannelId(name string, teamId string) string { //nolint:go
|
||||
if res == name {
|
||||
return channel.Id
|
||||
}
|
||||
} else {
|
||||
if channel.Name == name {
|
||||
return channel.Id
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return ""
|
||||
|
Reference in New Issue
Block a user