forked from jshiffer/go-xmpp
Move project to gosrc.io/xmpp
The URL will be more permanent as this is a place we dedicate as short URL for our go projects.
This commit is contained in:
4
jid.go
4
jid.go
@@ -1,4 +1,4 @@
|
||||
package xmpp // import "fluux.io/xmpp"
|
||||
package xmpp // import "gosrc.io/xmpp"
|
||||
|
||||
import (
|
||||
"errors"
|
||||
@@ -22,7 +22,7 @@ func NewJid(sjid string) (jid *Jid, err error) {
|
||||
|
||||
s2 := strings.Split(s1[1], "/")
|
||||
if len(s2) > 2 {
|
||||
err = errors.New("invalid JID: " + sjid)
|
||||
err = errors.New("invalid JID: " + sjidd)
|
||||
return
|
||||
}
|
||||
jid.domain = s2[0]
|
||||
|
||||
Reference in New Issue
Block a user