fix(calls): remove the hidden right-click camera-on call shortcut
Fixes #25 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PPmy3tPq869XDW4njjVaKA
This commit is contained in:
@@ -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}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user