Compare commits

...

2 Commits

Author SHA1 Message Date
Timo K
4cd2538dd8 dont remove pwd from url
Signed-off-by: Timo K <toger5@hotmail.de>
2023-09-20 16:27:08 +02:00
Timo K
a8ec02b773 dont ignore rest of url
Signed-off-by: Timo K <toger5@hotmail.de>
2023-09-20 16:19:44 +02:00

View File

@@ -59,9 +59,9 @@ export const useManageRoomSharedKey = (roomId: string): string | null => {
if (password !== e2eeSharedKey) return;
const [hashStart, passwordStart] = hash.split(PASSWORD_STRING);
const hashEnd = passwordStart.split("&")[1];
const hashEnd = passwordStart.split("&").slice(1).join("&");
location.replace((hashStart ?? "") + (hashEnd ?? ""));
// location.replace((hashStart ?? "") + (hashEnd ?? ""));
}, [password, e2eeSharedKey]);
return e2eeSharedKey;