mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-28 17:42:44 +00:00
Monotone-Parent: 4ef540dc6e51d77f7bceceddf7ba16238cd49b1a
Monotone-Revision: 2327e7e903cd36a63f8ce3ec294e55d00a7f6fd3 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-11-30T14:21:00
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
2011-11-29 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
2011-11-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentInboxFolder.m
|
||||
(-davScheduleDefaultCalendarURL): fixed method to return a
|
||||
properly formatted XML chunk.
|
||||
(-displayName): returns nameInContainer.
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
(-davCalendarTimeZone): fixed by embedding the VTIMEZONE element
|
||||
|
||||
@@ -76,17 +76,17 @@
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSArray *) davScheduleDefaultCalendarURL
|
||||
- (SOGoWebDAVValue *) davScheduleDefaultCalendarURL
|
||||
{
|
||||
NSArray *response;
|
||||
NSString *personalURL;
|
||||
NSDictionary *href;
|
||||
|
||||
personalURL = [NSString stringWithFormat: @"%@personal/",
|
||||
[container davURLAsString]];
|
||||
response = [NSArray arrayWithObjects: @"href", XMLNS_WEBDAV, @"D",
|
||||
personalURL, nil];
|
||||
href = davElementWithContent (@"href", XMLNS_WEBDAV, personalURL);
|
||||
|
||||
return response;
|
||||
return [davElementWithContent (@"schedule-default-calendar-URL", XMLNS_CALDAV, href)
|
||||
asWebDAVValue];
|
||||
}
|
||||
|
||||
- (NSArray *) aclsForUser: (NSString *) userID
|
||||
@@ -109,4 +109,9 @@
|
||||
return acls;
|
||||
}
|
||||
|
||||
- (NSString *) displayName
|
||||
{
|
||||
return nameInContainer;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user