1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-08 21:42:24 +03:00

add registerSuperProperties

This commit is contained in:
James Salter
2021-07-21 18:24:14 +01:00
parent e9e0e4847f
commit 0c89eb51d4

View File

@@ -150,6 +150,10 @@ export class PosthogAnalytics {
this.posthog.identify(await hashHex(userId)); this.posthog.identify(await hashHex(userId));
} }
public registerSuperProperties(properties) {
this.posthog.register(properties);
}
public isInitialised() { public isInitialised() {
return this.initialised; return this.initialised;
} }