From ee643de5b6031b6bdbf2e957f2fea8f1222ace64 Mon Sep 17 00:00:00 2001 From: Frank Date: Thu, 11 May 2017 20:10:53 +0200 Subject: Add Compatibility for Cisco Jabber (xmpp) (#166) --- bridge/xmpp/xmpp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bridge/xmpp') 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], "/") -- cgit v1.2.3