Update vendored modules.

This commit is contained in:
Martin Dosch 2024-04-05 09:12:50 +02:00
parent ead44ef99d
commit 3e57ec3603
No known key found for this signature in database
GPG Key ID: 52A57CFCE13D657D

View File

@ -975,9 +975,9 @@ func (c *Client) startStream(o *Options, domain string) (*streamFeatures, error)
}
_, err := fmt.Fprintf(c.stanzaWriter, "<?xml version='1.0'?>"+
"<stream:stream to='%s' xmlns='%s'"+
"<stream:stream from='%s' to='%s' xmlns='%s'"+
" xmlns:stream='%s' version='1.0'>\n",
xmlEscape(domain), nsClient, nsStream)
xmlEscape(o.User), xmlEscape(domain), nsClient, nsStream)
if err != nil {
return nil, err
}