From da34b7f90f4e026736335c3c891b99f707395574 Mon Sep 17 00:00:00 2001 From: strawberry Date: Tue, 5 Mar 2024 23:52:22 -0500 Subject: [PATCH] fix unused_must_use lints Signed-off-by: strawberry --- src/service/rooms/event_handler/mod.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/service/rooms/event_handler/mod.rs b/src/service/rooms/event_handler/mod.rs index ae2fd74d..13d33b1f 100644 --- a/src/service/rooms/event_handler/mod.rs +++ b/src/service/rooms/event_handler/mod.rs @@ -949,7 +949,7 @@ impl Service { match pdu::gen_event_id_canonical_json(&res.pdu, room_version_id) { Ok(t) => t, Err(_) => { - back_off((*next_id).to_owned()); + back_off((*next_id).to_owned()).await; continue; }, }; @@ -979,7 +979,7 @@ impl Service { }, Err(e) => { warn!("Failed to fetch event {} | {e}", next_id); - back_off((*next_id).to_owned()); + back_off((*next_id).to_owned()).await; }, } } @@ -1035,7 +1035,7 @@ impl Service { }, Err(e) => { warn!("Authentication of event {} failed: {:?}", next_id, e); - back_off((**next_id).to_owned()); + back_off((**next_id).to_owned()).await; }, } }