From 0636678ad2c94c613a036788ce7f2206b1e24061 Mon Sep 17 00:00:00 2001 From: Valere Date: Fri, 9 Jan 2026 13:12:19 +0100 Subject: [PATCH] quick log for playwright problem --- src/state/initialMuteState.ts | 6 ++++++ 1 file changed, 6 insertions(+) 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