mirror of
https://github.com/chatmail/core.git
synced 2026-05-15 12:56:30 +03:00
Actually works if you sleep long enough before sending message
This commit is contained in:
@@ -786,6 +786,7 @@ mod tests {
|
|||||||
alice.recv_msg_trash(&bob_advertisement).await;
|
alice.recv_msg_trash(&bob_advertisement).await;
|
||||||
|
|
||||||
// Alice sends ephemeral message
|
// Alice sends ephemeral message
|
||||||
|
tokio::time::sleep(tokio::time::Duration::from_secs(10)).await;
|
||||||
eprintln!("Sending ephemeral message");
|
eprintln!("Sending ephemeral message");
|
||||||
send_webxdc_realtime_data(alice, alice_webxdc.id, b"alice -> bob".into())
|
send_webxdc_realtime_data(alice, alice_webxdc.id, b"alice -> bob".into())
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user