mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2024-11-24 11:32:00 -08:00
Move example to new data structure
This commit is contained in:
parent
20a66dc47d
commit
5db9a80605
@ -71,7 +71,7 @@ func discoInfo(c xmpp.Sender, p stanza.Packet, opts xmpp.ComponentOptions) {
|
|||||||
Space: stanza.NSDiscoInfo,
|
Space: stanza.NSDiscoInfo,
|
||||||
Local: "query",
|
Local: "query",
|
||||||
},
|
},
|
||||||
Identity: identity,
|
Identity: []stanza.Identity{identity},
|
||||||
Features: []stanza.Feature{
|
Features: []stanza.Feature{
|
||||||
{Var: stanza.NSDiscoInfo},
|
{Var: stanza.NSDiscoInfo},
|
||||||
{Var: stanza.NSDiscoItems},
|
{Var: stanza.NSDiscoItems},
|
||||||
|
Loading…
Reference in New Issue
Block a user