Revert "fix url by providin a last & (#1550)"

This reverts commit 54e6fd4c07.
This commit is contained in:
David Baker
2023-09-20 16:31:45 +01:00
committed by GitHub
parent ec3783d1a6
commit 850cae9dfa

View File

@@ -63,9 +63,7 @@ export const AppSelectionModal: FC<Props> = ({ 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]);