tokio_xmpp: implement IQ tracking

This commit is contained in:
Jonas Schäfer 2025-01-26 11:10:44 +01:00
commit 8a4d548d9a
9 changed files with 399 additions and 32 deletions

View file

@ -16,7 +16,7 @@ use xso::{AsXml, FromXml};
use crate::xmlstream::XmppStreamElement;
use crate::Error;
fn make_id() -> String {
pub(crate) fn make_id() -> String {
let id: u64 = thread_rng().gen();
format!("{}", id)
}