Rename AsyncClient to Client

This commit is contained in:
xmppftw xmppftw 2024-08-06 21:00:11 +02:00
commit 0b58561003
10 changed files with 16 additions and 12 deletions

View file

@ -13,7 +13,7 @@ use tokio_xmpp::parsers::{disco::DiscoInfoResult, message::MessageType};
pub use tokio_xmpp::{
jid::{BareJid, FullJid, Jid},
minidom::Element,
AsyncClient as TokioXmppClient,
Client as TokioXmppClient,
};
use crate::{event_loop, message, muc, upload, Error, Event, RoomNick};

View file

@ -15,7 +15,7 @@ use tokio_xmpp::{
disco::{DiscoInfoResult, Feature, Identity},
ns,
},
AsyncClient as TokioXmppClient,
Client as TokioXmppClient,
};
use crate::{Agent, ClientFeature};

View file

@ -43,7 +43,7 @@ mod tests {
use super::jid::BareJid;
use super::{ClientBuilder, ClientFeature, ClientType, Event};
use std::str::FromStr;
use tokio_xmpp::AsyncClient as TokioXmppClient;
use tokio_xmpp::Client as TokioXmppClient;
#[tokio::test]
async fn test_simple() {