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

@@ -115,6 +115,10 @@ interface UrlParams {
* E2EE password
*/
password: string | null;
/**
* Whether we the app should use per participant keys for E2EE.
*/
perParticipantE2EE: boolean;
/**
* Setting this flag skips the lobby and brings you in the call directly.
* In the widget this can be combined with preload to pass the device settings
@@ -217,6 +221,7 @@ export const getUrlParams = (
fontScale: Number.isNaN(fontScale) ? null : fontScale,
analyticsID: parser.getParam("analyticsID"),
allowIceFallback: parser.getFlagParam("allowIceFallback"),
perParticipantE2EE: parser.getFlagParam("perParticipantE2EE"),
skipLobby: parser.getFlagParam("skipLobby"),
};
};