Fix futures not Send
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7688d67870
commit
a8de5d1e60
10 changed files with 33 additions and 29 deletions
|
@ -12,7 +12,7 @@ use crate::{debug_error, services, utils, Error, Result};
|
|||
/// registration file
|
||||
pub(crate) async fn send_request<T>(registration: Registration, request: T) -> Result<Option<T::IncomingResponse>>
|
||||
where
|
||||
T: OutgoingRequest + Debug,
|
||||
T: OutgoingRequest + Debug + Send,
|
||||
{
|
||||
const VERSIONS: [MatrixVersion; 1] = [MatrixVersion::V1_0];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue