diff options
author | Wim <wim@42.be> | 2019-03-24 20:15:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-24 20:15:15 +0100 |
commit | 16763b715acf4c96e733f388ba180d48a7be78d4 (patch) | |
tree | 604e01bf7a3c91dea8db3fc71f599f183a2ec5b7 /bridge/rocketchat | |
parent | ffaa59879662204017b2fa2904f7cf6146f909d0 (diff) | |
download | matterbridge-msglm-16763b715acf4c96e733f388ba180d48a7be78d4.tar.gz matterbridge-msglm-16763b715acf4c96e733f388ba180d48a7be78d4.tar.bz2 matterbridge-msglm-16763b715acf4c96e733f388ba180d48a7be78d4.zip |
Look up #channel too (rocketchat). Fix #773 (#775)
Diffstat (limited to 'bridge/rocketchat')
-rw-r--r-- | bridge/rocketchat/helpers.go | 2 |
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 } } |