Merge pull request #1558 from vector-im/revert-1550-confined_to_room_fix

Revert "fix url by providin a last &"
This commit is contained in:
David Baker
2023-09-20 16:39:46 +01:00
committed by GitHub

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]);