From f7db52e069e08b0a28c171a1cb3a66703b4f0ce2 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 16 Jan 2025 21:49:48 +0100 Subject: [PATCH] Use Send-less BoxFuture for HttpClient Service impl on wasm --- crates/matrix-sdk/src/http_client/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/matrix-sdk/src/http_client/mod.rs b/crates/matrix-sdk/src/http_client/mod.rs index e0944d558e1..eb3b940d960 100644 --- a/crates/matrix-sdk/src/http_client/mod.rs +++ b/crates/matrix-sdk/src/http_client/mod.rs @@ -261,7 +261,7 @@ async fn response_to_http_response( impl tower::Service> for HttpClient { type Response = http::Response; type Error = tower::BoxError; - type Future = futures_core::future::BoxFuture<'static, Result>; + type Future = matrix_sdk_base::BoxFuture<'static, Result>; fn poll_ready( &mut self,