xmpp: fixup disco mod
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
7e9eb5e1d3
commit
37e94767e0
1 changed files with 7 additions and 11 deletions
|
@ -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,
|
|
||||||
parsers::{
|
|
||||||
bookmarks,
|
bookmarks,
|
||||||
disco::DiscoInfoResult,
|
disco::DiscoInfoResult,
|
||||||
iq::Iq,
|
iq::Iq,
|
||||||
ns,
|
ns,
|
||||||
private::Query as PrivateXMLQuery,
|
private::Query as PrivateXMLQuery,
|
||||||
pubsub::pubsub::{Items, PubSub},
|
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) {
|
||||||
|
|
Loading…
Reference in a new issue