fix: update companyDomain in before firing every event (#5275)

This commit is contained in:
Vishal Sharma 2024-06-19 10:49:57 +05:30 committed by GitHub
parent 9a6db272c1
commit b69545a771
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -460,6 +460,7 @@ func (a *Telemetry) SendEvent(event string, data map[string]interface{}, userEma
if userEmail != "" {
a.SetUserEmail(userEmail)
a.SetCompanyDomain(userEmail)
}
if !a.isTelemetryEnabled() {