Update go-xmpp.

sasl2
Martin Dosch 2 months ago
parent 4f033fc5b9
commit 0703a7c2d6
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

@ -557,10 +557,10 @@ func (c *Client) init(o *Options) error {
}
if sasl2 {
if bind2 {
if o.Resource != "" {
resource = o.Resource
if o.UserAgentSW != "" {
resource = o.UserAgentSW
} else {
resource = uuid.NewString()
resource = "go-xmpp"
}
bind2Data = fmt.Sprintf("<bind xmlns='%s'><tag>%s</tag></bind>",
nsBind2, resource)

Loading…
Cancel
Save