mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Fix crash after removing an account
This commit is contained in:
parent
57a5ddc59f
commit
4f3ad2382b
1 changed files with 2 additions and 0 deletions
|
|
@ -2259,6 +2259,8 @@ static int comp_call_state_paused(const LinphoneCall *call, const void *param) {
|
|||
NSString *filter = @"*";
|
||||
if ([self lpConfigBoolForKey:@"contact_filter_on_default_domain"]) {
|
||||
LinphoneAccount *account = linphone_core_get_default_account(theLinphoneCore);
|
||||
if (!account)
|
||||
return filter;
|
||||
LinphoneAccountParams const *accountParams = linphone_account_get_params(account);
|
||||
if (account && linphone_account_params_get_server_addr(accountParams)) {
|
||||
return [NSString stringWithCString:linphone_account_params_get_domain(accountParams)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue