🐛(frontend) fix metadata agent collector enabled check

Fix an incorrect check that caused issues in production when
determining whether the metadata agent collector is enabled.
This commit is contained in:
lebaudantoine
2026-06-15 17:21:26 +02:00
committed by aleb_the_flash
parent 135b99aee7
commit c0feb1ee82
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -20,6 +20,10 @@ and this project adheres to
- 🚸(frontend) mute join notification sound in larger rooms
- 🚸(frontend) mute participants by default when joining a large meeting
### Fixed
- 🐛(frontend) fix metadata agent collector enabled check
## [1.20.0] - 2026-06-12
### Changed
@@ -6,5 +6,5 @@ export const useIsMetadataCollectorEnabled = () => {
const featureEnabled = useFeatureFlagEnabled(FeatureFlags.metadataCollector)
const isAnalyticsEnabled = useIsAnalyticsEnabled()
return (featureEnabled && isAnalyticsEnabled) || true
return !isAnalyticsEnabled || Boolean(featureEnabled)
}