diff --git a/SoObjects/Contacts/SOGoContactSourceFolder.m b/SoObjects/Contacts/SOGoContactSourceFolder.m index 1375c74dc..abf71093e 100644 --- a/SoObjects/Contacts/SOGoContactSourceFolder.m +++ b/SoObjects/Contacts/SOGoContactSourceFolder.m @@ -231,15 +231,8 @@ NSObject *recordSource; newRecord = [NSMutableDictionary dictionaryWithCapacity: 8]; - - // We set the c_uid only for authentication sources. SOGoUserSources set - // with canAuthenticate = NO and isAddressBook = YES have absolutely *NO REASON* - // to have entries with a c_uid. These can collide with real uids. - if ([[[[SOGoUserManager sharedUserManager] metadataForSourceID: [source sourceID]] objectForKey: @"canAuthenticate"] boolValue]) - { - [newRecord setObject: [oldRecord objectForKey: @"c_uid"] - forKey: @"c_uid"]; - } + [newRecord setObject: [oldRecord objectForKey: @"c_uid"] + forKey: @"c_uid"]; // c_name => id [newRecord setObject: [oldRecord objectForKey: @"c_name"]