mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-07 19:39:43 +00:00
Monotone-Parent: 779f7c78a42d4b2a50a642ddf6b7977bc7e6d72d
Monotone-Revision: fa22dd2e0a005adc266396ab36652336d8368a4a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-07-20T18:49:56 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user