mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-06 06:53:32 -04:00
fix(crypto): OutgoingRequest::ToDeviceRequest was not correctly mapped.
This commit is contained in:
@@ -187,7 +187,7 @@ impl TryFrom<OutgoingRequest> for JsValue {
|
||||
"messages": request.messages,
|
||||
});
|
||||
|
||||
JsValue::from(KeysClaimRequest {
|
||||
JsValue::from(ToDeviceRequest {
|
||||
request_id,
|
||||
body: serde_json::to_string(&body)?.into(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user