Add ConnTx::send_only

This commit is contained in:
Joscha 2023-01-30 18:57:06 +01:00
parent 09a9620f8e
commit 46d9367670
5 changed files with 11 additions and 5 deletions

View file

@ -136,7 +136,7 @@ async fn on_packet(packet: ParsedPacket, snapshot: Snapshot) -> Result<(), ()> {
// If you are not interested in the result, you can just
// throw away the future returned by the send function.
println!("Sending reply...");
let _ = snapshot.conn_tx.send(Send {
snapshot.conn_tx.send_only(Send {
content: reply,
parent: Some(event.0.id),
});