From 4cdd221eff84164844101aaff27869438cc5dc9e Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Tue, 15 Sep 2026 22:43:17 -0400 Subject: [PATCH] fix(calls): remove the hidden right-click camera-on call shortcut Fixes #25 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA --- src/app/features/room/RoomViewHeader.tsx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/app/features/room/RoomViewHeader.tsx b/src/app/features/room/RoomViewHeader.tsx index 7b1c634c3..43fa4f9bd 100644 --- a/src/app/features/room/RoomViewHeader.tsx +++ b/src/app/features/room/RoomViewHeader.tsx @@ -414,14 +414,9 @@ function CallButton() { ref={triggerRef} aria-label="Start call" onClick={handleOpenMenu} - onContextMenu={(evt) => { - evt.preventDefault(); - startCall(room, { - microphone: true, - video: true, - sound: true, - }); - }} + // Gitea #25 — removed an undiscoverable onContextMenu shortcut that + // started a camera-on video call directly, bypassing cameraOnJoin and + // the room camera policy. The popout menu already offers Voice/Video. disabled={inAnotherCall || callStarted} aria-pressed={!!menuAnchor} >