mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 01:22:46 +02:00
Migrate doug/5035_posthog from MatrixKit.
This commit is contained in:
@@ -27,7 +27,6 @@
|
||||
#import "MXKAppSettings.h"
|
||||
#import <MatrixSDK/MXTools.h>
|
||||
#import "MXKSwiftHeader.h"
|
||||
#import "MXKAnalyticsConstants.h"
|
||||
|
||||
#pragma mark - Constants definitions
|
||||
|
||||
@@ -884,9 +883,7 @@ manualChangeMessageForVideo:(NSString*)manualChangeMessageForVideo
|
||||
// Request address book access
|
||||
[[CNContactStore new] requestAccessForEntityType:CNEntityTypeContacts completionHandler:^(BOOL granted, NSError * _Nullable error) {
|
||||
|
||||
[MXSDKOptions.sharedInstance.analyticsDelegate trackValue:[NSNumber numberWithBool:granted]
|
||||
category:MXKAnalyticsCategoryContacts
|
||||
name:MXKAnalyticsNameContactsAccessGranted];
|
||||
[Analytics.shared trackContactsAccessGranted:granted];
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user