Monotone-Parent: 779f7c78a42d4b2a50a642ddf6b7977bc7e6d72d

Monotone-Revision: fa22dd2e0a005adc266396ab36652336d8368a4a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-07-20T18:49:56
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2009-07-20 18:49:56 +00:00
parent f714fa42bc
commit 4f43a4fbd2
3 changed files with 7 additions and 14 deletions

View File

@ -55,9 +55,8 @@
- (void) setEmail: (NSString *)_s
{
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
/* iCal.app compatibility:
- "mailto" prefix must be in lowercase; */
[self setValue: 0
to: [NSString stringWithFormat: @"mailto:%@", _s]];
}

View File

@ -2000,9 +2000,6 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
content = [NSMutableArray array];
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
[content addObject: davElementWithContent (@"recipient",
XMLNS_CALDAV, [recipient email])];
if (user)
@ -2223,9 +2220,9 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
[colType addObject: @"collection"];
[colType addObject: [NSArray arrayWithObjects: @"calendar", XMLNS_CALDAV, nil]];
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
/* iPhone compatibility: we can only return a caldav "calendar"
resourcetype. Anything else will prevent the iPhone from querying the
collection. */
request = [context request];
if (![request isIPhone])
{
@ -2241,8 +2238,6 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
login = [[context activeUser] login];
if ([login isEqualToString: [self ownerInContext: self]])
{
// [colType addObject: [NSArray arrayWithObjects: @"schedule-calendar",
// XMLNS_CALDAV, nil]];
[colType addObject: [NSArray arrayWithObjects: @"schedule-inbox",
XMLNS_CALDAV, nil]];
[colType addObject: [NSArray arrayWithObjects: @"schedule-outbox",

View File

@ -80,9 +80,8 @@ static unsigned int freebusyRangeEnd = 0;
um = [LDAPUserManager sharedUserManager];
contactInfos = [um contactInfosForUserWithUIDorEmail: uid];
// WARNING
// don't touch unless you're going to re-test caldav sync
// with an iPhone AND lightning
/* iCal.app compatibility:
- don't add "cn"; */
person = [iCalPerson new];
[person autorelease];
[person setEmail: [contactInfos objectForKey: @"c_email"]];