Add support for disco info node

This commit is contained in:
Mickael Remond 2018-01-26 11:40:34 +01:00
parent 266ed9b1e4
commit c451e3bc63
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

1
iq.go
View File

@ -316,6 +316,7 @@ const (
type DiscoInfo struct { type DiscoInfo struct {
XMLName xml.Name `xml:"http://jabber.org/protocol/disco#info query"` XMLName xml.Name `xml:"http://jabber.org/protocol/disco#info query"`
Node string `xml:"node,attr,omitempty"`
Identity Identity `xml:"identity"` Identity Identity `xml:"identity"`
Features []Feature `xml:"feature"` Features []Feature `xml:"feature"`
} }