diff --git a/Classes/LinphoneAppDelegate.m b/Classes/LinphoneAppDelegate.m index c6de201be..577db8a4f 100644 --- a/Classes/LinphoneAppDelegate.m +++ b/Classes/LinphoneAppDelegate.m @@ -164,8 +164,8 @@ self.voipRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP]; int num = [LinphoneManager.instance lpConfigIntForKey:@"unexpected_pushkit" withDefault:0]; - if (num > 2) { - LOGW(@"[PushKit] unexpected pushkit notifications received %d, please clean your sip account.", num); + if (num > 3) { + LOGI(@"[PushKit] unexpected pushkit notifications received %d, please clean your sip account.", num); } // Register for remote notifications. diff --git a/Classes/PhoneMainView.m b/Classes/PhoneMainView.m index 77751a760..6593e6cae 100644 --- a/Classes/PhoneMainView.m +++ b/Classes/PhoneMainView.m @@ -363,7 +363,7 @@ static RootViewManager *rootViewManagerInstance = nil; case LinphoneCallIncomingReceived: if (!CallManager.callKitEnabled) { [self displayIncomingCall:call]; - } else if ([LinphoneManager.instance lpConfigIntForKey:@"unexpected_pushkit" withDefault:0] > 2) { + } else if ([LinphoneManager.instance lpConfigIntForKey:@"unexpected_pushkit" withDefault:0] > 3) { dispatch_async(dispatch_get_main_queue(), ^{ linphone_call_decline(call, LinphoneReasonUnknown); UIAlertController *errView =