From 2cee2b5fd60894ea19d14760e2861b4c2b830be5 Mon Sep 17 00:00:00 2001 From: James Salter Date: Mon, 2 Aug 2021 12:26:18 +0100 Subject: [PATCH] Update comment --- src/PosthogAnalytics.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PosthogAnalytics.ts b/src/PosthogAnalytics.ts index 80b51a3f2e..860a155aff 100644 --- a/src/PosthogAnalytics.ts +++ b/src/PosthogAnalytics.ts @@ -29,9 +29,9 @@ import SettingsStore from './settings/SettingsStore'; * `respect_dnt` flag being passed to `posthog.init`). * - If the `feature_pseudonymous_analytics_opt_in` labs flag is `true`, track pseudonomously, i.e. * hash all matrix identifiers in tracking events (user IDs, room IDs etc) using SHA-256. - * - Otherwise, if the existing `analyticsOptIn` flag is `true`, or not present (i.e. prior to - * logging in), track anonymously, i.e. redact all matrix identifiers in tracking events. - * - If both flags are false, events are not sent. + * - Otherwise, if the existing `analyticsOptIn` flag is `true`, track anonymously, i.e. + * redact all matrix identifiers in tracking events. + * - If both flags are false or not set, events are not sent. */ interface IEvent {