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:
parent
8c7549a09e
commit
ee643de5b6
@ -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], "/")
|
||||
|
Loading…
Reference in New Issue
Block a user