Support new properties in posthog UTD reports
Add a few new properties to the UTD reports we send to Posthog.
This commit is contained in:
parent
c5e605a539
commit
e8d373f6ae
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@ class UtdTracker(
|
||||||
timeToDecryptMillis = info.timeToDecryptMs?.toInt() ?: -1,
|
timeToDecryptMillis = info.timeToDecryptMs?.toInt() ?: -1,
|
||||||
domain = Error.Domain.E2EE,
|
domain = Error.Domain.E2EE,
|
||||||
name = name,
|
name = name,
|
||||||
|
eventLocalAgeMillis = info.eventLocalAgeMillis.toInt(),
|
||||||
|
userTrustsOwnIdentity = info.userTrustsOwnIdentity,
|
||||||
|
isFederated = info.ownHomeserver != info.senderHomeserver,
|
||||||
|
isMatrixDotOrg = info.ownHomeserver == "matrix.org",
|
||||||
)
|
)
|
||||||
analyticsService.capture(event)
|
analyticsService.capture(event)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue