matrix-bot-sdk icon indicating copy to clipboard operation
matrix-bot-sdk copied to clipboard

Get type checking from OlmMachine.shareRoomKey

Open AndrewFerr opened this issue 2 years ago • 1 comments

Update the rust-sdk bindings to have access to type checking in the return value of OlmMachine.shareRoomKey, which now returns an array of ToDeviceRequest objects instead of a JSON encoding of the whole array.

Signed-off-by: Andrew Ferrazzutti [email protected]

Checklist

  • [x] Tests written for all new code
  • [x] Linter has been satisfied
  • [x] Sign-off given on the changes (see CONTRIBUTING.md)

AndrewFerr avatar Aug 11 '23 16:08 AndrewFerr

Note that this applies on top of https://github.com/turt2live/matrix-bot-sdk/pull/332 due to incrementing the rust-sdk version from that PR.

AndrewFerr avatar Aug 11 '23 16:08 AndrewFerr