From 16763b715acf4c96e733f388ba180d48a7be78d4 Mon Sep 17 00:00:00 2001 From: Wim Date: Sun, 24 Mar 2019 20:15:15 +0100 Subject: [PATCH] Look up #channel too (rocketchat). Fix #773 (#775) --- bridge/rocketchat/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } }