mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-20 22:05:57 +00:00
Monotone-Parent: 60d1f73fd64a52fd996c5bf572fea291b0222750
Monotone-Revision: 3469fbc852a8276ebad66999a9ba086bc7f0ed78 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-08-04T22:52:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -34,15 +34,15 @@
|
||||
|
||||
/* content */
|
||||
|
||||
- (id)record {
|
||||
- (id) record {
|
||||
if (self->record == nil) {
|
||||
NSString *s;
|
||||
|
||||
|
||||
s = [self contentAsString];
|
||||
|
||||
|
||||
if ([s hasPrefix:@"BEGIN:VCARD"]) {
|
||||
NSArray *v;
|
||||
|
||||
|
||||
v = [NGVCard parseVCardsFromSource:s];
|
||||
if ([v count] == 0) {
|
||||
[self errorWithFormat:@"Could not parse vCards from content!"];
|
||||
|
||||
Reference in New Issue
Block a user