mirror of
https://github.com/42wim/matterbridge
synced 2024-11-19 03:25:33 +00:00
parent
ffaa598796
commit
16763b715a
@ -95,7 +95,7 @@ func (b *Brocketchat) getChannelID(name string) string {
|
||||
b.RLock()
|
||||
defer b.RUnlock()
|
||||
for k, v := range b.channelMap {
|
||||
if v == name {
|
||||
if v == name || v == "#"+name {
|
||||
return k
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user