Closed richvdh closed 1 year ago
Expose the new method added in https://github.com/matrix-org/matrix-rust-sdk/pull/2510
To do this, we need to give EncryptionInfo its own wrapper type; we can lift most of the functionality from DecryptedRoomEvent. And then we may as well reuse that wrapper in the DecryptedRoomEvent.
EncryptionInfo
DecryptedRoomEvent
I added a test, though it's a bit of a token effort if I'm totally honest.
Thanks!
Expose the new method added in https://github.com/matrix-org/matrix-rust-sdk/pull/2510
To do this, we need to give
EncryptionInfo
its own wrapper type; we can lift most of the functionality fromDecryptedRoomEvent
. And then we may as well reuse that wrapper in theDecryptedRoomEvent
.