Skip to content

Commit

Permalink
add comment about encryption situation
Browse files Browse the repository at this point in the history
Signed-off-by: Timo K <toger5@hotmail.de>
  • Loading branch information
toger5 committed Apr 10, 2024
1 parent ce5298a commit 31f4378
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/room/GroupCallView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,12 @@ export const GroupCallView: FC<Props> = ({

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 (
<ErrorView
error={
Expand Down

0 comments on commit 31f4378

Please sign in to comment.