Move example to new data structure

disco_info_form
Mickael Remond 5 years ago
parent 20a66dc47d
commit 5db9a80605
No known key found for this signature in database
GPG Key ID: E6F6045D79965AA3

@ -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},

Loading…
Cancel
Save