From 2f24e77bb6d226e596263501ac6d02d0c1236c4f Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Wed, 28 Jul 2021 16:50:40 +0200 Subject: [PATCH] =?UTF-8?q?Set=20core=20push=20notification=20enabled=20to?= =?UTF-8?q?=20match=20the=20value=20in=20=E2=80=9Cproxy=E2=80=9D=3D>?= =?UTF-8?q?=E2=80=9Dpush=5Fnotification=5Fallowed=E2=80=9D,=20to=20match?= =?UTF-8?q?=20the=20sdk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Classes/LinphoneManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneManager.m b/Classes/LinphoneManager.m index 64bb1b296..df7d1b0a2 100644 --- a/Classes/LinphoneManager.m +++ b/Classes/LinphoneManager.m @@ -1303,7 +1303,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat } - (void)startLinphoneCore { - bool corePushEnabled = [self lpConfigIntForKey:@"proxy" inSection:@"push_notification_allowed"]; + bool corePushEnabled = [self lpConfigIntForKey:@"net" inSection:@"push_notification"]; linphone_core_set_push_notification_enabled([LinphoneManager getLc], corePushEnabled); linphone_core_start([LinphoneManager getLc]);