From bc2281f7d22e7cc284340d4267e544b920f6eaed Mon Sep 17 00:00:00 2001 From: Hugh Nimmo-Smith Date: Mon, 2 Dec 2024 11:47:18 +0000 Subject: [PATCH] Improve docs --- src/room/MuteStates.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/room/MuteStates.ts b/src/room/MuteStates.ts index 6a8a18de..02370b7b 100644 --- a/src/room/MuteStates.ts +++ b/src/room/MuteStates.ts @@ -23,7 +23,7 @@ import { useUrlParams } from "../UrlParams"; /** * If there already are this many participants in the call, we automatically mute - * the user. + * the user when they join a call. */ export const MUTE_PARTICIPANT_COUNT = 8; @@ -74,7 +74,7 @@ export function useMuteStates(): MuteStates { const devices = useMediaDevices(); const { skipLobby } = useUrlParams(); - // In SPA without lobby we need to protect from unmuted joins (Privacy). + // In SPA without lobby we need to protect from unmuted joins for privacy. const allowStartUnmuted = !skipLobby || !!widget; const audio = useMuteState(devices.audioInput, () => { return Config.get().media_devices.enable_audio && allowStartUnmuted;