mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 19:18:06 +00:00
Let the core manage IM policy
This commit is contained in:
parent
cdd3005908
commit
2dd9cfa16f
1 changed files with 0 additions and 5 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue