From 850cae9dfa08b3fd7a9710a5ab32f54c3cf21a3a Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 20 Sep 2023 16:31:45 +0100 Subject: [PATCH] Revert "fix url by providin a last & (#1550)" This reverts commit 54e6fd4c073d75dc5866fc1e5058f11b1614171e. --- src/room/AppSelectionModal.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/room/AppSelectionModal.tsx b/src/room/AppSelectionModal.tsx index 6a9172dc..80e2871b 100644 --- a/src/room/AppSelectionModal.tsx +++ b/src/room/AppSelectionModal.tsx @@ -63,9 +63,7 @@ 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() + "&"); + result.searchParams.set("url", url.toString()); return result.toString(); }, [roomId, roomSharedKey]);