diff --git a/src/main.rs b/src/main.rs index d7255a6f..f7634922 100644 --- a/src/main.rs +++ b/src/main.rs @@ -654,7 +654,7 @@ fn server_server_routes() -> Router { .ruma_route(server_server::claim_keys_route) .route_layer(axum::middleware::from_fn(deny_if_not_allowed_by_acl)) } - +#[allow(clippy::future_not_send)] pub async fn deny_if_not_allowed_by_acl( host: Option, request: axum::http::Request,