fix(addressbook): autocomplete correctly return two contacts from two ldap with same id

This commit is contained in:
Hivert Quentin
2023-10-03 14:28:57 +02:00
parent b1d8475520
commit 1d3da92bab
2 changed files with 10 additions and 2 deletions
@@ -239,6 +239,9 @@
[newRecord setObject: [oldRecord objectForKey: @"c_uid"]
forKey: @"c_uid"];
//source id
[newRecord setObject: [source sourceID] forKey: @"sourceID"];
// c_name => id
[newRecord setObject: [oldRecord objectForKey: @"c_name"]
forKey: @"c_name"];