summaryrefslogtreecommitdiffstats
path: root/bridge/rocketchat/helpers.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/rocketchat/helpers.go')
-rw-r--r--bridge/rocketchat/helpers.go2
1 files changed, 1 insertions, 1 deletions
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
}
}