mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-23 02:52:00 -08:00
Merge with changes from master
This commit is contained in:
commit
4a4fc39cf6
@ -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)
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user