xmpp: Use tokio-xmpp’s reexports of jid and minidom

This commit is contained in:
Emmanuel Gil Peyrot 2024-07-24 20:52:10 +02:00 committed by Jonas Schäfer
commit 5fc12c45b5
19 changed files with 35 additions and 21 deletions

View file

@ -9,7 +9,11 @@ use std::sync::{Arc, RwLock};
use tokio_xmpp::connect::ServerConnector;
pub use tokio_xmpp::parsers;
use tokio_xmpp::parsers::{disco::DiscoInfoResult, message::MessageType};
pub use tokio_xmpp::{AsyncClient as TokioXmppClient, BareJid, Element, FullJid, Jid};
pub use tokio_xmpp::{
jid::{BareJid, FullJid, Jid},
minidom::Element,
AsyncClient as TokioXmppClient,
};
use crate::{event_loop, message, muc, upload, Error, Event, RoomNick};