mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
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:
+4
@@ -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)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user