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::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) {
|
||||
|
|
Loading…
Reference in a new issue