mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-15 00:19:24 +01: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