Revert "fix url by providin a last & (#1550)"
This reverts commit 54e6fd4c07.
This commit is contained in:
@@ -63,9 +63,7 @@ export const AppSelectionModal: FC<Props> = ({ roomId }) => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
const result = new URL("element://call");
|
const result = new URL("element://call");
|
||||||
// Everything after the last & stripped away making us loose the last param. Most likely while removing the pwd.
|
result.searchParams.set("url", url.toString());
|
||||||
// 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();
|
return result.toString();
|
||||||
}, [roomId, roomSharedKey]);
|
}, [roomId, roomSharedKey]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user