Richard van der Hoff
ec6272aa3d
Fix outgoing messages for rust-crypto ( #3025 )
...
It turns out that MatrixClient uses a `FetchHttpApi` instance with
`opts.onlyData = true`, so it was returning the json-parsed response rather
than the raw response. Change the way we call `authedRequest` so that we get
the raw body back.
2023-01-05 15:00:37 +00:00
Richard van der Hoff
030abe1563
Pass to-device messages into rust crypto-sdk ( #3021 )
...
We need a separate API, because `ClientEvent.ToDeviceEvent` is only emitted for
successfully decrypted to-device events
2023-01-05 09:54:56 +00:00
Richard van der Hoff
9ac7165e99
Handle outgoing requests from rust crypto SDK ( #3019 )
...
The rust matrix-sdk-crypto has an `outgoingRequests()` method which we need to poll, and make the requested requests.
2023-01-04 12:17:42 +00:00
Richard van der Hoff
45f6c5b079
Add exportRoomKeys to CryptoBackend ( #2970 )
...
Element-web calls `exportRoomKeys` on logout, so we need a stub implementation
to get it EW working with the rust crypto sdk.
2022-12-20 11:11:00 +00:00