Remove MXDecryptionFailureDelegate in flavor of agnostic MXAnalyticsDelegate

This commit is contained in:
manuroe
2020-11-05 12:09:10 +01:00
parent da8c7f2ae9
commit 51966926d9
6 changed files with 17 additions and 37 deletions
-14
View File
@@ -159,18 +159,4 @@ NSString *const kAnalyticsE2eDecryptionFailureAction = @"Decryption failure";
url:nil];
}
#pragma mark - MXDecryptionFailureDelegate
- (void)trackFailures:(NSDictionary<NSString *,NSNumber *> *)failuresCounts
{
for (NSString *reason in failuresCounts)
{
[matomoTracker trackWithEventWithCategory:kAnalyticsE2eCategory
action:kAnalyticsE2eDecryptionFailureAction
name:reason
number:failuresCounts[reason]
url:nil];
}
}
@end