From 9559701a5e3ece3258b201ee7024c0018d789ef9 Mon Sep 17 00:00:00 2001 From: Benoit Martins Date: Tue, 28 Oct 2025 10:24:16 +0100 Subject: [PATCH] Remove addLdap from LdapViewModel since core.createLdapWithParams already adds it to the list --- Linphone/UI/Main/Settings/ViewModel/LdapViewModel.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Linphone/UI/Main/Settings/ViewModel/LdapViewModel.swift b/Linphone/UI/Main/Settings/ViewModel/LdapViewModel.swift index 8bc7857c9..1b320d845 100644 --- a/Linphone/UI/Main/Settings/ViewModel/LdapViewModel.swift +++ b/Linphone/UI/Main/Settings/ViewModel/LdapViewModel.swift @@ -172,7 +172,6 @@ class LdapViewModel: ObservableObject { Log.info("\(LdapViewModel.TAG) LDAP changes have been applied") } else { let ldap = try core.createLdapWithParams(params: ldapParams) - core.addLdap(ldap: ldap) Log.info("\(LdapViewModel.TAG) New LDAP config created") }