diff --git a/bridge/rocketchat/helpers.go b/bridge/rocketchat/helpers.go index c6bd2dd8..9fca4a6d 100644 --- a/bridge/rocketchat/helpers.go +++ b/bridge/rocketchat/helpers.go @@ -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 } }