From 4e6647814bcf7334939e5a193ae46c8e14cb9fb0 Mon Sep 17 00:00:00 2001 From: Timo K Date: Wed, 20 Sep 2023 13:05:51 +0200 Subject: [PATCH] add TODO comment Signed-off-by: Timo K --- src/room/AppSelectionModal.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/room/AppSelectionModal.tsx b/src/room/AppSelectionModal.tsx index 4cf3ad85..6a9172dc 100644 --- a/src/room/AppSelectionModal.tsx +++ b/src/room/AppSelectionModal.tsx @@ -63,6 +63,8 @@ export const AppSelectionModal: FC = ({ roomId }) => { }); const result = new URL("element://call"); + // Everything after the last & stripped away making us loose the last param. Most likely while removing the pwd. + // TODO fix the pwd removal function (or wherever this happens) to not delete everything after the last &. result.searchParams.set("url", url.toString() + "&"); return result.toString(); }, [roomId, roomSharedKey]);