mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 16:13:42 +02:00
Remove MXDecryptionFailureDelegate in flavor of agnostic MXAnalyticsDelegate
This commit is contained in:
@@ -20,8 +20,6 @@
|
||||
|
||||
@import MatrixSDK;
|
||||
|
||||
@protocol MXDecryptionFailureDelegate;
|
||||
|
||||
@interface DecryptionFailureTracker : NSObject
|
||||
|
||||
/**
|
||||
@@ -34,7 +32,7 @@
|
||||
/**
|
||||
The delegate object to receive analytics events.
|
||||
*/
|
||||
@property (nonatomic) id<MXDecryptionFailureDelegate> delegate;
|
||||
@property (nonatomic) id<MXAnalyticsDelegate> delegate;
|
||||
|
||||
/**
|
||||
Report an event unable to decrypt.
|
||||
@@ -54,18 +52,3 @@
|
||||
- (void)dispatch;
|
||||
|
||||
@end
|
||||
|
||||
/**
|
||||
The `MXDecryptionFailureDelegate` protocol receives some stats computed by
|
||||
`DecryptionFailureTracker`.
|
||||
*/
|
||||
@protocol MXDecryptionFailureDelegate <NSObject>
|
||||
|
||||
/**
|
||||
Stats for decryption failures.
|
||||
|
||||
@param failuresCounts the number of errors per failure reason.
|
||||
*/
|
||||
- (void)trackFailures:(NSDictionary<NSString*, NSNumber*> *)failuresCounts;
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user