mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
Fix potential background crash when link popup was supposed to appear
This commit is contained in:
parent
50f656d1ee
commit
77c4fb1747
1 changed files with 1 additions and 1 deletions
|
|
@ -1261,7 +1261,7 @@ void popup_link_account_cb(LinphoneAccountCreator *creator, LinphoneAccountCreat
|
|||
[LinphoneManager.instance lpConfigSetInt:0 forKey:@"must_link_account_time"];
|
||||
} else {
|
||||
LinphoneAccount *account = linphone_core_get_default_account(LC);
|
||||
LinphoneAccountParams const *accountParams = linphone_account_get_params(account);
|
||||
LinphoneAccountParams const *accountParams = account ? linphone_account_get_params(account) : NULL;
|
||||
if (account &&
|
||||
strcmp(linphone_account_params_get_domain(accountParams),
|
||||
[LinphoneManager.instance lpConfigStringForKey:@"domain_name"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue