Analytics | Report expected UTDs as HistoricalMessage error

This commit is contained in:
Valere
2024-04-04 13:01:19 +02:00
parent c6761c8b43
commit 047be10692
6 changed files with 477 additions and 21 deletions
@@ -47,6 +47,11 @@ import AnalyticsEvents
/// UTDs can be permanent or temporary. If temporary, this field will contain the time it took to decrypt the message in milliseconds. If permanent should be nil
var timeToDecrypt: TimeInterval?
/// Was the current cross-signing identity trusted at the time of decryption
var trustOwnIdentityAtTimeOfFailure: Bool?
var eventLocalAgeMillis: Int?
init(failedEventId: String, reason: DecryptionFailureReason, context: String, ts: TimeInterval) {
self.failedEventId = failedEventId
self.reason = reason