fix url by providin a last & (#1550)
* fix url by prvidin a last & everything after the last & will be stripped away -> hence we loose the last param (usually confined to room...) -> going home kills the all the params which we need to fix! --------- Signed-off-by: Timo K <toger5@hotmail.de>
This commit is contained in:
@@ -63,7 +63,9 @@ export const AppSelectionModal: FC<Props> = ({ roomId }) => {
|
||||
});
|
||||
|
||||
const result = new URL("element://call");
|
||||
result.searchParams.set("url", url.toString());
|
||||
// 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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user