disco: Implement IqGetPayload on the correct structs.
This commit is contained in:
parent
0bec19c224
commit
9bd6fe002d
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ DiscoInfoQuery, "query", DISCO_INFO, [
|
||||||
node: Option<String> = "node" => optional,
|
node: Option<String> = "node" => optional,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
impl IqGetPayload for DiscoItemsQuery {}
|
impl IqGetPayload for DiscoInfoQuery {}
|
||||||
|
|
||||||
generate_element_with_only_attributes!(
|
generate_element_with_only_attributes!(
|
||||||
/// Structure representing a `<feature xmlns='http://jabber.org/protocol/disco#info'/>` element.
|
/// Structure representing a `<feature xmlns='http://jabber.org/protocol/disco#info'/>` element.
|
||||||
|
@ -195,7 +195,7 @@ DiscoItemsQuery, "query", DISCO_ITEMS, [
|
||||||
node: Option<String> = "node" => optional,
|
node: Option<String> = "node" => optional,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
impl IqGetPayload for DiscoInfoResult {}
|
impl IqGetPayload for DiscoItemsQuery {}
|
||||||
|
|
||||||
generate_element_with_only_attributes!(
|
generate_element_with_only_attributes!(
|
||||||
/// Structure representing an `<item xmlns='http://jabber.org/protocol/disco#items'/>` element.
|
/// Structure representing an `<item xmlns='http://jabber.org/protocol/disco#items'/>` element.
|
||||||
|
|
Loading…
Reference in a new issue