Merge with changes from master

This commit is contained in:
Mickael Remond 2019-06-27 14:55:44 +02:00
commit 4a4fc39cf6
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3
2 changed files with 3 additions and 3 deletions

View file

@ -71,6 +71,6 @@ func handleMessage(s xmpp.Sender, p stanza.Packet) {
} }
``` ```
## Documentation ## Reference documentation
Please, check GoDoc for more information: [gosrc.io/xmpp](https://godoc.org/gosrc.io/xmpp) The code documentation is available on GoDoc: [gosrc.io/xmpp](https://godoc.org/gosrc.io/xmpp)

View file

@ -23,7 +23,7 @@ func (x *Err) Namespace() string {
return x.XMLName.Space return x.XMLName.Space
} }
// UnmarshalXML implements custom parsing for IQs // UnmarshalXML implements custom parsing for XMPP errors
func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error { func (x *Err) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
x.XMLName = start.Name x.XMLName = start.Name