From 2dd9cfa16fe847827cdd001bfb2a2eeb8384df1e Mon Sep 17 00:00:00 2001 From: Benjamin Reis Date: Thu, 22 Jun 2017 15:53:56 +0200 Subject: [PATCH] Let the core manage IM policy --- Classes/LinphoneManager.m | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 33f734530..b9aeae995 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1985,11 +1985,6 @@ static BOOL libStarted = FALSE; [PhoneMainView.instance presentViewController:errView animated:YES completion:nil]; } - // Enable notify policy for all - LinphoneImNotifPolicy *im_notif_policy; - im_notif_policy = linphone_core_get_im_notif_policy(theLinphoneCore); - linphone_im_notif_policy_enable_all(im_notif_policy); - if ([UIApplication sharedApplication].applicationState == UIApplicationStateBackground) { // go directly to bg mode [self enterBackgroundMode];