diff --git a/ChangeLog b/ChangeLog index 63b2fea8e..7e3e25ccf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-10-22 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactLDIFEntry.m ([SOGoContactLDIFEntry + -davEntityTag]): modified to return the "hash" of the vCard string. + * UI/MailerUI/UIxMailActions.m ([UIxMailActions -removeAllLabelsAction]): new method that removes all label flags from the associated message. diff --git a/SoObjects/Contacts/SOGoContactLDIFEntry.m b/SoObjects/Contacts/SOGoContactLDIFEntry.m index 22a2ba7ef..94615aba9 100644 --- a/SoObjects/Contacts/SOGoContactLDIFEntry.m +++ b/SoObjects/Contacts/SOGoContactLDIFEntry.m @@ -173,7 +173,12 @@ - (NSString *) davEntityTag { - return [ldifEntry objectForKey: @"modifyTimeStamp"]; + unsigned int hash; +// return [ldifEntry objectForKey: @"modifyTimeStamp"]; + + hash = [[self contentAsString] hash]; + + return [NSString stringWithFormat: @"hash%u", hash]; } - (NSString *) davContentType