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