xmpp: update to edition 2024
Signed-off-by: pep <pep@bouah.net>
This commit is contained in:
parent
4a054ae802
commit
e503f016a3
19 changed files with 40 additions and 29 deletions
|
|
@ -6,11 +6,11 @@
|
|||
|
||||
use futures::StreamExt;
|
||||
use tokio_xmpp::{
|
||||
parsers::{disco::DiscoInfoQuery, iq::Iq, roster::Roster},
|
||||
Event as TokioXmppEvent, Stanza,
|
||||
parsers::{disco::DiscoInfoQuery, iq::Iq, roster::Roster},
|
||||
};
|
||||
|
||||
use crate::{iq, message, presence, Agent, Event};
|
||||
use crate::{Agent, Event, iq, message, presence};
|
||||
|
||||
/// Wait for new events, or Error::Disconnected when stream is closed and will not reconnect.
|
||||
pub async fn wait_for_events(agent: &mut Agent) -> Vec<Event> {
|
||||
|
|
|
|||
Loading…
Reference in a new issue