diff --git a/src/database/pusher.rs b/src/database/pusher.rs index 60b21fc..2380196 100644 --- a/src/database/pusher.rs +++ b/src/database/pusher.rs @@ -523,6 +523,8 @@ async fn send_notice( Ok(()) } +/// Internal Notifications struct to avoid liftime errors when batching +/// the futures. #[derive(Debug, Default)] struct Notice { event_id: Option,