Move example to new data structure

This commit is contained in:
Mickael Remond 2019-06-27 14:35:03 +02:00
parent 20a66dc47d
commit 5db9a80605
No known key found for this signature in database
GPG key ID: E6F6045D79965AA3

View file

@ -71,7 +71,7 @@ func discoInfo(c xmpp.Sender, p stanza.Packet, opts xmpp.ComponentOptions) {
Space: stanza.NSDiscoInfo,
Local: "query",
},
Identity: identity,
Identity: []stanza.Identity{identity},
Features: []stanza.Feature{
{Var: stanza.NSDiscoInfo},
{Var: stanza.NSDiscoItems},