summaryrefslogtreecommitdiff
path: root/client-web/source/keybinds.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2022-09-16 21:20:52 +0200
committermetamuffin <metamuffin@disroot.org>2022-09-16 21:20:52 +0200
commit52b7bf7a052d2da6c71db7695dde73716cb0e4e5 (patch)
treebd582773a2d60e54286c450bc9595b398d76582d /client-web/source/keybinds.ts
parenta3cc9f8fb1bf45741b08ce6d383c4d7cc8ea8b1f (diff)
downloadkeks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar
keks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar.bz2
keks-meet-52b7bf7a052d2da6c71db7695dde73716cb0e4e5.tar.zst
optional streams (3, less bugs)
Diffstat (limited to 'client-web/source/keybinds.ts')
-rw-r--r--client-web/source/keybinds.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client-web/source/keybinds.ts b/client-web/source/keybinds.ts
index bbae1b8..028e119 100644
--- a/client-web/source/keybinds.ts
+++ b/client-web/source/keybinds.ts
@@ -21,7 +21,7 @@ export function setup_keybinds(room: Room) {
if (ev.code == "KeyM" || ev.code == "KeyR") room.local_user.await_add_resource(room.local_user.create_mic_res())
if (ev.code == "KeyS") room.local_user.await_add_resource(room.local_user.create_screencast_res())
if (ev.code == "KeyC" && !ev.ctrlKey) room.local_user.await_add_resource(room.local_user.create_camera_res())
- if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.end())
+ if (ev.code == "KeyC" && ev.ctrlKey) room.local_user.resources.forEach(t => t.destroy())
}
command_mode = false
})