mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 17:59:21 +00:00
Clean settings when there is no proxy config
This commit is contained in:
parent
6a2d236af1
commit
95f10ec2f9
1 changed files with 4 additions and 0 deletions
|
|
@ -121,6 +121,10 @@ extern void linphone_iphone_log_handler(int lev, const char *fmt, va_list args);
|
|||
}
|
||||
} else {
|
||||
[self setInteger: lp_config_get_int(linphone_core_get_config(lc),"default_values","reg_expires", 600) forKey:@"expire_preference"];
|
||||
[self setObject:@"" forKey:@"username_preference"];
|
||||
[self setObject:@"" forKey:@"domain_preference"];
|
||||
[self setObject:@"" forKey:@"proxy_preference"];
|
||||
[self setBool:FALSE forKey:@"outbound_proxy_preference"];
|
||||
}
|
||||
|
||||
[self setBool:lp_config_get_int(linphone_core_get_config(lc), LINPHONERC_APPLICATION_KEY, "pushnotification_preference", 0) forKey:@"pushnotification_preference"];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue