mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
update addressbook when account linked in order to refresh phone number presence
This commit is contained in:
parent
3614d6d3da
commit
a8273b6e8c
4 changed files with 3 additions and 2 deletions
|
|
@ -163,6 +163,7 @@ void assistant_activate_phone_number_link(LinphoneAccountCreator *creator, Linph
|
|||
linphone_proxy_config_done(cfg);
|
||||
}
|
||||
[PhoneMainView.instance popToView:DialerView.compositeViewDescription];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:kLinphoneAddressBookUpdate object:NULL];
|
||||
} else {
|
||||
[thiz showErrorPopup:resp];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -946,6 +946,7 @@ void assistant_activate_account(LinphoneAccountCreator *creator, LinphoneAccount
|
|||
thiz.waitView.hidden = YES;
|
||||
if (status == LinphoneAccountCreatorAccountActivated) {
|
||||
[thiz configureProxyConfig];
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:kLinphoneAddressBookUpdate object:NULL];
|
||||
} else if (status == LinphoneAccountCreatorAccountAlreadyActivated) {
|
||||
// in case we are actually trying to link account, let's try it now
|
||||
linphone_account_creator_activate_phone_number_link(creator);
|
||||
|
|
|
|||
|
|
@ -211,7 +211,6 @@
|
|||
self.voipRegistry.desiredPushTypes = [NSSet setWithObject:PKPushTypeVoIP];
|
||||
} else {
|
||||
/* iOS7 and below */
|
||||
self.voipRegistry.delegate = NULL;
|
||||
if (!instance.isTesting) {
|
||||
NSUInteger notifTypes =
|
||||
UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeBadge;
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>5</string>
|
||||
<string>7</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<true/>
|
||||
<key>ITSEncryptionExportComplianceCode</key>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue