mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-18 17:12:37 +01: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