Compare commits

...

2 Commits

Author SHA1 Message Date
Timo K
4e6647814b add TODO comment
Signed-off-by: Timo K <toger5@hotmail.de>
2023-09-20 13:05:51 +02:00
Timo K
2699ab0141 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>
2023-09-20 13:01:19 +02:00

View File

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