From 37e94767e0c315d87bd67282ec7f34ad36b21cd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 18 Jun 2024 19:57:12 +0200 Subject: [PATCH] xmpp: fixup disco mod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- xmpp/src/disco/mod.rs | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/xmpp/src/disco/mod.rs b/xmpp/src/disco/mod.rs index 5c97a078..a9c6d652 100644 --- a/xmpp/src/disco/mod.rs +++ b/xmpp/src/disco/mod.rs @@ -6,17 +6,13 @@ use crate::jid::Jid; use crate::Agent; -use tokio_xmpp::{ - minidom::Element, - parsers::{ - bookmarks, - disco::DiscoInfoResult, - iq::Iq, - ns, - private::Query as PrivateXMLQuery, - pubsub::pubsub::{Items, PubSub}, - Error as ParsersError, - }, +use tokio_xmpp::parsers::{ + bookmarks, + disco::DiscoInfoResult, + iq::Iq, + ns, + private::Query as PrivateXMLQuery, + pubsub::pubsub::{Items, PubSub}, }; pub async fn handle_disco_info_result(agent: &mut Agent, disco: DiscoInfoResult, from: Jid) {