mirror of
https://github.com/element-hq/element-android
synced 2024-11-26 03:15:40 +03:00
Analytics | if no property use null instead of empty map
This commit is contained in:
parent
2bbb49bdd3
commit
752c884eaa
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class DefaultVectorAnalytics @Inject constructor(
|
|||
?.takeIf { userConsent == true }
|
||||
?.capture(
|
||||
event.getName(),
|
||||
event.getProperties().orEmpty().toPostHogProperties()
|
||||
event.getProperties()?.toPostHogProperties()
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue