Update comment

pull/21833/head
James Salter 2021-08-02 12:26:18 +01:00
parent 4755a81403
commit 2cee2b5fd6
1 changed files with 3 additions and 3 deletions

View File

@ -29,9 +29,9 @@ import SettingsStore from './settings/SettingsStore';
* `respect_dnt` flag being passed to `posthog.init`). * `respect_dnt` flag being passed to `posthog.init`).
* - If the `feature_pseudonymous_analytics_opt_in` labs flag is `true`, track pseudonomously, i.e. * - 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. * 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 * - Otherwise, if the existing `analyticsOptIn` flag is `true`, track anonymously, i.e.
* logging in), track anonymously, i.e. redact all matrix identifiers in tracking events. * redact all matrix identifiers in tracking events.
* - If both flags are false, events are not sent. * - If both flags are false or not set, events are not sent.
*/ */
interface IEvent { interface IEvent {