From 4f1d4d90d069ce494ad57d5f95b123f1c49b9b13 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Mon, 2 Jun 2025 19:04:55 +0530 Subject: [PATCH] fix: remove invasive configs (#1555) --- frontend/src/telemetry.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/frontend/src/telemetry.ts b/frontend/src/telemetry.ts index 12b23494..848e318a 100644 --- a/frontend/src/telemetry.ts +++ b/frontend/src/telemetry.ts @@ -67,17 +67,9 @@ function capture( } function startRecording() { - if (!isTelemetryEnabled()) return - if (window.posthog?.__loaded) { - window.posthog.startSessionRecording() - } } function stopRecording() { - if (!isTelemetryEnabled()) return - if (window.posthog?.__loaded && window.posthog.sessionRecordingStarted()) { - window.posthog.stopSessionRecording() - } } // Posthog Plugin