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:
parent
7b66de1166
commit
e9b226e1ae
21 changed files with 34 additions and 22 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue