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::Agent;
use tokio_xmpp::{
minidom::Element,
parsers::{
use tokio_xmpp::parsers::{
bookmarks,
disco::DiscoInfoResult,
iq::Iq,
ns,
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) {