forked from mirrors/linphone-iphone
reload fastaddressBook after reseting core
This commit is contained in:
parent
86686a0ead
commit
b3d59f85c2
2 changed files with 3 additions and 0 deletions
|
|
@ -768,6 +768,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response
|
|||
linphone_core_set_provisioning_uri(LC, [configURL UTF8String]);
|
||||
[LinphoneManager.instance destroyLinphoneCore];
|
||||
[LinphoneManager.instance startLinphoneCore];
|
||||
[LinphoneManager.instance.fastAddressBook reload];
|
||||
}
|
||||
|
||||
#pragma mark - Prevent ImagePickerView from rotating
|
||||
|
|
|
|||
|
|
@ -1879,6 +1879,8 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
- (void)resetLinphoneCore {
|
||||
[self destroyLinphoneCore];
|
||||
[self createLinphoneCore];
|
||||
// reload friends
|
||||
[self.fastAddressBook reload];
|
||||
|
||||
// reset network state to trigger a new network connectivity assessment
|
||||
linphone_core_set_network_reachable(theLinphoneCore, FALSE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue