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:
Timo K
2023-09-20 13:01:19 +02:00
parent 0128fece80
commit 2699ab0141

View File

@@ -63,7 +63,7 @@ export const AppSelectionModal: FC<Props> = ({ roomId }) => {
});
const result = new URL("element://call");
result.searchParams.set("url", url.toString());
result.searchParams.set("url", url.toString() + "&");
return result.toString();
}, [roomId, roomSharedKey]);