Fix crash upon refresh

This commit is contained in:
Christophe Deschamps 2024-05-06 15:53:26 +02:00
parent 3a60f1c303
commit e9ecd80c1d

View file

@ -422,7 +422,7 @@
- (IBAction)onRegistrationStateClick:(id)sender {
if (linphone_core_get_default_account(LC)) {
linphone_core_refresh_registers(LC);
linphone_account_refresh_register(linphone_core_get_default_account(LC));
} else {
MSList *accounts = [LinphoneManager.instance createAccountsNotHiddenList];