diff options
author | Frank <fti7@users.noreply.github.com> | 2017-05-11 20:10:53 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2017-05-11 20:10:53 +0200 |
commit | ee643de5b6031b6bdbf2e957f2fea8f1222ace64 (patch) | |
tree | 6dcdbee6b0d735b14e1d07e2f3b7694d0cb34f65 /bridge/xmpp | |
parent | 8c7549a09ea89514dee6e8a4247af8bf0599ba7f (diff) | |
download | matterbridge-msglm-ee643de5b6031b6bdbf2e957f2fea8f1222ace64.tar.gz matterbridge-msglm-ee643de5b6031b6bdbf2e957f2fea8f1222ace64.tar.bz2 matterbridge-msglm-ee643de5b6031b6bdbf2e957f2fea8f1222ace64.zip |
Add Compatibility for Cisco Jabber (xmpp) (#166)
Diffstat (limited to 'bridge/xmpp')
-rw-r--r-- | bridge/xmpp/xmpp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 4dcb8ef7..3756f5b9 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -119,7 +119,7 @@ func (b *Bxmpp) handleXmpp() error { var channel, nick string if v.Type == "groupchat" { s := strings.Split(v.Remote, "@") - if len(s) == 2 { + if len(s) >= 2 { channel = s[0] } s = strings.Split(s[1], "/") |