From aa68cc70f199e8986eb1ca97a77bd9c77a4968e6 Mon Sep 17 00:00:00 2001 From: Frank Isemann Date: Thu, 11 May 2017 18:06:50 +0200 Subject: [PATCH] Add Compatibility for Cisco Jabber --- bridge/xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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], "/")