mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
Analytics | if no property use null instead of empty map
This commit is contained in:
parent
2bbb49bdd3
commit
752c884eaa
@ -177,7 +177,7 @@ class DefaultVectorAnalytics @Inject constructor(
|
||||
?.takeIf { userConsent == true }
|
||||
?.capture(
|
||||
event.getName(),
|
||||
event.getProperties().orEmpty().toPostHogProperties()
|
||||
event.getProperties()?.toPostHogProperties()
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user