tokio_xmpp: implement IQ tracking
This commit is contained in:
parent
ef9d0a95ff
commit
8a4d548d9a
9 changed files with 399 additions and 32 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue