diff options
author | metamuffin <metamuffin@disroot.org> | 2023-09-08 16:00:38 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-09-08 16:00:38 +0200 |
commit | 6f7fba05963e8f8e19cd0d013f4715bf01b96f93 (patch) | |
tree | cb2cfc435df6bffb2ea2f52f67a37b7778abf6ea | |
parent | 323b74a63cefcf918ca843a5310b31e4b155c192 (diff) | |
download | keks-meet-6f7fba05963e8f8e19cd0d013f4715bf01b96f93.tar keks-meet-6f7fba05963e8f8e19cd0d013f4715bf01b96f93.tar.bz2 keks-meet-6f7fba05963e8f8e19cd0d013f4715bf01b96f93.tar.zst |
show room name in title
-rw-r--r-- | client-web/source/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client-web/source/index.ts b/client-web/source/index.ts index 7bc9197..a9babb4 100644 --- a/client-web/source/index.ts +++ b/client-web/source/index.ts @@ -69,6 +69,8 @@ export async function main() { if (room_secret.length == 0) return window.location.href = "/" // send them back to the start page if (PREFS.warn_redirect) log({ scope: "crypto", warn: true }, "You were redirected from the old URL format. The server knows the room secret now - e2ee is insecure!") + if (room_secret.split("#").length > 1) document.title = `${room_secret.split("#")[0]} | keks-meet` + const conn = await (new SignalingConnection().connect()) const rtc_config: RTCConfiguration = { iceCandidatePoolSize: 10, |