mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-21 10:02:00 -08:00
Fix typo
This commit is contained in:
parent
be587fac4c
commit
a35a7959d7
2
jid.go
2
jid.go
@ -22,7 +22,7 @@ func NewJid(sjid string) (jid *Jid, err error) {
|
|||||||
|
|
||||||
s2 := strings.Split(s1[1], "/")
|
s2 := strings.Split(s1[1], "/")
|
||||||
if len(s2) > 2 {
|
if len(s2) > 2 {
|
||||||
err = errors.New("invalid JID: " + sjidd)
|
err = errors.New("invalid JID: " + sjid)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
jid.domain = s2[0]
|
jid.domain = s2[0]
|
||||||
|
Loading…
Reference in New Issue
Block a user