mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Set core push notification enabled to match the value in “proxy”=>”push_notification_allowed”, to match the sdk
This commit is contained in:
parent
ebbc05bf6a
commit
2f24e77bb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue