xmpp: Use tokio-xmpp’s reexports of jid and minidom
This commit is contained in:
parent
e9b226e1ae
commit
5fc12c45b5
19 changed files with 35 additions and 21 deletions
|
|
@ -12,13 +12,13 @@ use tokio_xmpp::connect::ServerConnector;
|
|||
use tokio_xmpp::parsers::{
|
||||
avatar::{Data, Metadata},
|
||||
iq::Iq,
|
||||
jid::Jid,
|
||||
ns,
|
||||
pubsub::{
|
||||
event::Item,
|
||||
pubsub::{Items, PubSub},
|
||||
NodeName,
|
||||
},
|
||||
Jid,
|
||||
};
|
||||
|
||||
pub(crate) async fn handle_metadata_pubsub_event<C: ServerConnector>(
|
||||
|
|
|
|||
|
|
@ -9,12 +9,13 @@ use crate::Event;
|
|||
use std::str::FromStr;
|
||||
use tokio_xmpp::{
|
||||
connect::ServerConnector,
|
||||
jid::{BareJid, Jid},
|
||||
minidom::Element,
|
||||
parsers::{
|
||||
bookmarks2::{self, Autojoin},
|
||||
ns,
|
||||
pubsub::event::PubSubEvent,
|
||||
pubsub::pubsub::PubSub,
|
||||
BareJid, Element, Jid,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue