From 4cd2538dd8017cbaf6837df9bc0e26152b353f73 Mon Sep 17 00:00:00 2001 From: Timo K Date: Wed, 20 Sep 2023 16:27:08 +0200 Subject: [PATCH] dont remove pwd from url Signed-off-by: Timo K --- src/e2ee/sharedKeyManagement.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/e2ee/sharedKeyManagement.ts b/src/e2ee/sharedKeyManagement.ts index e22d3269..e8a8c83d 100644 --- a/src/e2ee/sharedKeyManagement.ts +++ b/src/e2ee/sharedKeyManagement.ts @@ -61,7 +61,7 @@ export const useManageRoomSharedKey = (roomId: string): string | null => { const [hashStart, passwordStart] = hash.split(PASSWORD_STRING); const hashEnd = passwordStart.split("&").slice(1).join("&"); - location.replace((hashStart ?? "") + (hashEnd ?? "")); + // location.replace((hashStart ?? "") + (hashEnd ?? "")); }, [password, e2eeSharedKey]); return e2eeSharedKey;