mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
Fix resetting telemetryEnabled if global setting is toggled off
This commit is contained in:
parent
db463dc1ef
commit
8c5f8b253b
1 changed files with 2 additions and 0 deletions
|
|
@ -25,6 +25,8 @@ class PostHogClient {
|
|||
}
|
||||
|
||||
private updateTelemetryState(): void {
|
||||
this.telemetryEnabled = false
|
||||
|
||||
// First check global telemetry level - telemetry should only be enabled when level is "all"
|
||||
const telemetryLevel = vscode.workspace.getConfiguration("telemetry").get<string>("telemetryLevel", "all")
|
||||
const globalTelemetryEnabled = telemetryLevel === "all"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue