Fix compilation issue.

This commit is contained in:
Benoit Marty 2023-03-06 15:49:16 +01:00
parent 5eded5cb8d
commit 8595bd2be8

View File

@ -137,7 +137,7 @@ class DecryptionFailureTracker @Inject constructor(
// for now we ignore events already reported even if displayed again?
.filter { alreadyReported.contains(it).not() }
.forEach { failedEventId ->
analyticsTracker.capture(Error(aggregation.key.first, Error.Domain.E2EE, aggregation.key.second))
analyticsTracker.capture(Error(context = aggregation.key.first, domain = Error.Domain.E2EE, name = aggregation.key.second))
alreadyReported.add(failedEventId)
}
}