From 488b567d42717ad3e3710fd3483ea3a5bf870d94 Mon Sep 17 00:00:00 2001 From: Timo <16718859+toger5@users.noreply.github.com> Date: Fri, 3 Nov 2023 16:04:54 +0100 Subject: [PATCH] rename flags and add docs for perparticipantE2EE (#1862) Signed-off-by: Timo K --- docs/url-params.md | 12 ++++++++++-- src/UrlParams.ts | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/url-params.md b/docs/url-params.md index 02e5b175..65fbdd33 100644 --- a/docs/url-params.md +++ b/docs/url-params.md @@ -112,11 +112,19 @@ Whether to hide the screen-sharing button. hideScreensharing: boolean; (default: false) ``` -**e2eEnabled** +**enableE2EE** Whether to use end-to-end encryption. ``` -e2eEnabled: boolean; (default: true) +enableE2EE: boolean; (default: true) +``` + +**perParticipantE2EE** +Whether to use per participant encryption. +Keys will be exchanged over encrypted matrix room messages. + +``` +perParticipantE2EE: boolean; (default: false) ``` **password** diff --git a/src/UrlParams.ts b/src/UrlParams.ts index eb3cd3b4..ea1da7d6 100644 --- a/src/UrlParams.ts +++ b/src/UrlParams.ts @@ -211,7 +211,7 @@ export const getUrlParams = ( hideHeader: parser.getFlagParam("hideHeader"), showControls: parser.getFlagParam("showControls", true), hideScreensharing: parser.getFlagParam("hideScreensharing"), - e2eEnabled: parser.getFlagParam("enableE2e", true), + e2eEnabled: parser.getFlagParam("enableE2EE", true), userId: parser.getParam("userId"), displayName: parser.getParam("displayName"), deviceId: parser.getParam("deviceId"),