LDAP: copy uid to apple-generateduid for iCal attendee search

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@714 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-09-10 13:20:55 +00:00
parent c434a5dace
commit 736437670a
1 changed files with 6 additions and 2 deletions

View File

@ -786,6 +786,10 @@ public class LdapConnection extends AbstractConnection {
}
}
} else {
// iCal: copy uid to apple-generateduid
if (returningAttributes.contains("apple-generateduid") && person.get("uid") != null) {
person.put("apple-generateduid", person.get("uid"));
}
// convert Contact entries
for (Map.Entry<String, String> entry : person.entrySet()) {
String contactAttribute = entry.getKey();