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 a new issue