MESSENGER-4821 add dimension for decryption error tracking

This commit is contained in:
JanNiklas Grabowski
2023-10-11 15:07:07 +02:00
parent 7312ad09ad
commit 77705a42ae
5 changed files with 19 additions and 12 deletions
@@ -45,11 +45,14 @@ import AnalyticsEvents
let context: String
// bwi: tracking information
let errorCode: NSInteger
init(failedEventId: String, reason: DecryptionFailureReason, context: String, errorCode: NSInteger) {
// bwi: #4821 RoomDevicesCount
let deviceCount: NSInteger
init(failedEventId: String, reason: DecryptionFailureReason, context: String, errorCode: NSInteger, deviceCount: NSInteger) {
self.failedEventId = failedEventId
self.reason = reason
self.context = context
self.errorCode = errorCode
self.deviceCount = deviceCount
}
}