Telemetry fix (#4009)

This commit is contained in:
canvrno authored and GitHub committed 2025-06-03 18:44:52 -07:00
1 parent 0a3d0e3569
commit a6ce75d17c
2 files changed
+12

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Telemetry fix
+7
View File
@@ -264,6 +264,13 @@ export class Controller {
}
}
})
// Initialize telemetry service with user's current setting
this.getStateToPostToWebview().then((state) => {
const { telemetrySetting } = state
const isOptedIn = telemetrySetting !== "disabled"
telemetryService.updateTelemetryState(isOptedIn)
})
break
case "newTask":
// Code that should run in response to the hello message command