From 9bd6fe002d30f6bce89ac10da810619db7ccf3ce Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 17 May 2018 19:24:51 +0200 Subject: [PATCH] disco: Implement IqGetPayload on the correct structs. --- src/disco.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/disco.rs b/src/disco.rs index ea49476c..4c70edd2 100644 --- a/src/disco.rs +++ b/src/disco.rs @@ -27,7 +27,7 @@ DiscoInfoQuery, "query", DISCO_INFO, [ node: Option = "node" => optional, ]); -impl IqGetPayload for DiscoItemsQuery {} +impl IqGetPayload for DiscoInfoQuery {} generate_element_with_only_attributes!( /// Structure representing a `` element. @@ -195,7 +195,7 @@ DiscoItemsQuery, "query", DISCO_ITEMS, [ node: Option = "node" => optional, ]); -impl IqGetPayload for DiscoInfoResult {} +impl IqGetPayload for DiscoItemsQuery {} generate_element_with_only_attributes!( /// Structure representing an `` element.