Merge pull request #1772 from vector-im/dbkr/ppe2ee

Support key-per-participant e2ee
This commit is contained in:
David Baker
2023-10-31 20:08:05 +00:00
committed by GitHub
13 changed files with 195 additions and 56 deletions

View File

@@ -77,6 +77,8 @@ export const widget = ((): WidgetHelpers | null => {
logger.info("Widget API is available");
const api = new WidgetApi(widgetId, parentOrigin);
api.requestCapability(MatrixCapabilities.AlwaysOnScreen);
api.requestCapabilityToSendEvent(EventType.CallEncryptionKeysPrefix);
api.requestCapabilityToReceiveEvent(EventType.CallEncryptionKeysPrefix);
// Set up the lazy action emitter, but only for select actions that we
// intend for the app to handle