xmpp: fixup disco mod

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2024-06-18 19:57:12 +02:00
parent 7e9eb5e1d3
commit 37e94767e0

View file

@ -6,17 +6,13 @@
use crate::jid::Jid; use crate::jid::Jid;
use crate::Agent; use crate::Agent;
use tokio_xmpp::{ use tokio_xmpp::parsers::{
minidom::Element, bookmarks,
parsers::{ disco::DiscoInfoResult,
bookmarks, iq::Iq,
disco::DiscoInfoResult, ns,
iq::Iq, private::Query as PrivateXMLQuery,
ns, pubsub::pubsub::{Items, PubSub},
private::Query as PrivateXMLQuery,
pubsub::pubsub::{Items, PubSub},
Error as ParsersError,
},
}; };
pub async fn handle_disco_info_result(agent: &mut Agent, disco: DiscoInfoResult, from: Jid) { pub async fn handle_disco_info_result(agent: &mut Agent, disco: DiscoInfoResult, from: Jid) {