tokio-xmpp: Import Jid, BareJid and Element properly

xmpp-parsers has stopped reexporting them, instead it reexports only the
crates themselves.
This commit is contained in:
Emmanuel Gil Peyrot 2024-07-24 20:39:27 +02:00 • committed by Jonas Schäfer
commit e9b226e1ae
21 changed files with 34 additions and 22 deletions

View file

@ -38,7 +38,7 @@ impl ServerConnector for TcpServerConnector {
type Error = Error;
async fn connect(
&self,
jid: &xmpp_parsers::Jid,
jid: &xmpp_parsers::jid::Jid,
ns: &str,
) -> Result<XMPPStream<Self::Stream>, Self::Error> {
let stream = TcpStream::connect(&*self.0)