From 9e124f4c51d27939adf585c5fe43b7c0bb842510 Mon Sep 17 00:00:00 2001 From: Pete Markowsky Date: Thu, 6 Jul 2023 17:39:51 -0400 Subject: [PATCH] Add kSyncEnableCleanSyncEventUpload to the _forcedConfigKeyTypes dict (#1123) * Add kSyncEnableCleanSyncEventUpload to the _forcedConfigTypes dict. * Add KVO helper. --------- Co-authored-by: Russell Hancox --- Source/common/SNTConfigurator.m | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Source/common/SNTConfigurator.m b/Source/common/SNTConfigurator.m index 0d31fe652..5466ecfa0 100644 --- a/Source/common/SNTConfigurator.m +++ b/Source/common/SNTConfigurator.m @@ -194,6 +194,7 @@ - (instancetype)init { kModeNotificationLockdown : string, kStaticRules : array, kSyncBaseURLKey : string, + kSyncEnableCleanSyncEventUpload : number, kSyncProxyConfigKey : dictionary, kClientAuthCertificateFileKey : string, kClientAuthCertificatePasswordKey : string, @@ -314,6 +315,10 @@ + (NSSet *)keyPathsForValuesAffectingSyncBaseURL { return [self configStateSet]; } ++ (NSSet *)keyPathsForValuesAffectingEnableCleanSyncEventUpload { + return [self configStateSet]; +} + + (NSSet *)keyPathsForValuesAffectingEnablePageZeroProtection { return [self configStateSet]; }