matrix-js-sdk
matrix-js-sdk copied to clipboard
Introduce an encryptAndSendToDevices method
Factor out encryptAndSendToDevices from megolm.ts's encryptAndSendKeysToDevices() so it can be used for sending other encrypted payloads (e.g. VoIP signalling).
This PR contains cherry picked commits from https://github.com/matrix-org/matrix-js-sdk/pull/1987 and based it off of the develop branch instead.
Here's what your changelog entry will look like:
✨ Features
- Introduce an encryptAndSendToDevices method (#2002). Contributed by @robertlong.