From e9ecd80c1d9435712f7e7a112cf6ec8bb530ff95 Mon Sep 17 00:00:00 2001 From: Christophe Deschamps Date: Mon, 6 May 2024 15:53:26 +0200 Subject: [PATCH] Fix crash upon refresh --- Classes/LinphoneUI/StatusBarView.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/LinphoneUI/StatusBarView.m b/Classes/LinphoneUI/StatusBarView.m index 9ef7a8c28..d8664cb69 100644 --- a/Classes/LinphoneUI/StatusBarView.m +++ b/Classes/LinphoneUI/StatusBarView.m @@ -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];