mirror of
https://github.com/vector-im/element-call.git
synced 2026-04-03 07:10:26 +00:00
Merge branch 'livekit' into new_url_scema
This commit is contained in:
@@ -119,5 +119,7 @@
|
||||
"Back to recents": "Zurück zu kürzlichen Anrufen",
|
||||
"Select app": "App auswählen",
|
||||
"Mute microphone": "Mikrofon deaktivieren",
|
||||
"Start new call": "Neuen Anruf beginnen"
|
||||
"Start new call": "Neuen Anruf beginnen",
|
||||
"Call not found": "Anruf nicht gefunden",
|
||||
"Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.": "Anrufe sind nun Ende-zu-Ende-verschlüsselt und müssen auf der Startseite erstellt werden. Damit stellen wir sicher, dass alle denselben Schlüssel verwenden."
|
||||
}
|
||||
|
||||
@@ -119,5 +119,7 @@
|
||||
"Stop video": "Ferma video",
|
||||
"Unmute microphone": "Riaccendi il microfono",
|
||||
"Back to recents": "Torna ai recenti",
|
||||
"Start new call": "Inizia nuova chiamata"
|
||||
"Start new call": "Inizia nuova chiamata",
|
||||
"Call not found": "Chiamata non trovata",
|
||||
"Calls are now end-to-end encrypted and need to be created from the home page. This helps make sure everyone's using the same encryption key.": "Le chiamate ora sono cifrate end-to-end e devono essere create dalla pagina principale. Ciò assicura che chiunque usi la stessa chiave di crittografia."
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ 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 ?? ""));
|
||||
}, [password, e2eeSharedKey]);
|
||||
|
||||
@@ -63,9 +63,7 @@ export const AppSelectionModal: FC<Props> = ({ roomId }) => {
|
||||
});
|
||||
|
||||
const result = new URL("io.element.call:/");
|
||||
// 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() + "&");
|
||||
result.searchParams.set("url", url.toString());
|
||||
return result.toString();
|
||||
}, [roomId, roomSharedKey]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user