Commit 2f24e77b authored by QuentinArguillere's avatar QuentinArguillere
Browse files

Set core push notification enabled to match the value in...

Set core push notification enabled to match the value in “proxy”=>”push_notification_allowed”, to match the sdk
parent ebbc05bf
Pipeline #32075 passed with stage
in 5 minutes and 41 seconds
...@@ -1303,7 +1303,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat ...@@ -1303,7 +1303,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
} }
- (void)startLinphoneCore { - (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_set_push_notification_enabled([LinphoneManager getLc], corePushEnabled);
linphone_core_start([LinphoneManager getLc]); linphone_core_start([LinphoneManager getLc]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment