From feea942bfd0cb7e03636396a2a47b8ec9c5b0312 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 10 Apr 2007 20:39:40 +0000 Subject: [PATCH] Monotone-Parent: 75edf160eabb9019f1da0e81ecc9323bf007c389 Monotone-Revision: d78171ae9ddd9c9879bd98773d9f7cd1d734479a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-04-10T20:39:40 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 +++ SoObjects/Contacts/SOGoContactGCSEntry.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a2638278c..60b5ef6e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-04-10 Wolfgang Sourdeau + * SoObjects/Contacts/SOGoContactGCSEntry.m ([SOGoContactGCSEntry + -vCard]): test the prefix of the card in a case-independent way. + * OGoContentStore/OCSContactFieldExtractor.m ([OCSContactFieldExtractor -extractQuickFieldsFromContent:content]): we no longer accept diff --git a/SoObjects/Contacts/SOGoContactGCSEntry.m b/SoObjects/Contacts/SOGoContactGCSEntry.m index 1dde518e9..39aca0a4b 100644 --- a/SoObjects/Contacts/SOGoContactGCSEntry.m +++ b/SoObjects/Contacts/SOGoContactGCSEntry.m @@ -54,7 +54,7 @@ if (!card) { contentStr = [self contentAsString]; - if ([contentStr hasPrefix:@"BEGIN:VCARD"]) + if ([[contentStr uppercaseString] hasPrefix:@"BEGIN:VCARD"]) card = [NGVCard parseSingleFromSource: contentStr]; else card = [NGVCard cardWithUid: [self nameInContainer]];