Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit 0f5595f05ec4d7f4ec10e020995ee985e0b429a1 Author: Frank <fti7@users.noreply.github.com> Date: Thu May 11 20:10:53 2017 +0000 Add Compatibility for Cisco Jabber (xmpp) (#166) diff --git a/bridge/xmpp/xmpp.go b/bridge/xmpp/xmpp.go index 4dcb8ef..3756f5b 100644 --- a/bridge/xmpp/xmpp.go +++ b/bridge/xmpp/xmpp.go @@ -1197 +1197 @@ 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], "/")