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) {