5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-12-25 07:15:43 +00:00

Add Compatibility for Cisco Jabber (xmpp) (#166)

This commit is contained in:
Frank 2017-05-11 20:10:53 +02:00 committed by Wim
parent 8c7549a09e
commit ee643de5b6

View File

@ -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], "/")