5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-22 16:20:26 +00:00

Look up #channel too (rocketchat). Fix #773 (#775)

This commit is contained in:
Wim 2019-03-24 20:15:15 +01:00 committed by GitHub
parent ffaa598796
commit 16763b715a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
} }
} }