From b08890cae720558e86723b543e1416943db65ca7 Mon Sep 17 00:00:00 2001 From: Timo K Date: Tue, 9 Apr 2024 17:50:01 +0200 Subject: [PATCH] add comment about encryption situation Signed-off-by: Timo K --- src/room/GroupCallView.tsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/room/GroupCallView.tsx b/src/room/GroupCallView.tsx index d89b006b..911ed8ba 100644 --- a/src/room/GroupCallView.tsx +++ b/src/room/GroupCallView.tsx @@ -291,7 +291,12 @@ export const GroupCallView: FC = ({ const { t } = useTranslation(); - if (e2eeSystem.kind === E2eeType.NONE) { + if (e2eeSystem.kind === E2eeType.NONE && !widget) { + // the url wants encryption, but we don't have a encryption system. (e.g. when joining a call without password) + // TODO: we need to figure out what we do with encryption goning forward. + // In the SPA a room is unencrypted but uses a shared secret for the call (since we distribute via url that works) + // In embedded mode unencrypted rooms would make most sense to also call unencrypted. + // A call where one person joins with the spa and another person with the widget would be a problem. return (