diff --git a/src/state/initialMuteState.ts b/src/state/initialMuteState.ts index 41b36559..982e6fce 100644 --- a/src/state/initialMuteState.ts +++ b/src/state/initialMuteState.ts @@ -5,6 +5,8 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial Please see LICENSE in the repository root for full details. */ +import { logger } from "matrix-js-sdk/lib/logger"; + import { type UrlParams } from "../UrlParams.ts"; /** @@ -21,6 +23,10 @@ export function calculateInitialMuteState( ): { audioEnabled: boolean; videoEnabled: boolean } { const { skipLobby, callIntent } = urlParams; + logger.debug( + `calculateInitialMuteState: skipLobby=${skipLobby}, callIntent=${callIntent}, hostname=${hostname}, isDevBuild=${isDevBuild}`, + ); + const isTrustedHost = packageType == "embedded" || // Trust local hosts in dev mode to make local testing easier