mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 11:42:23 -05:00
CalDav: Send sub folders for multi-calendar support under iCal
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@764 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
f3913ba8fc
commit
8cd4941db0
@ -524,12 +524,11 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
List<ExchangeSession.Event> events = session.getAllEvents(folderPath);
|
List<ExchangeSession.Event> events = session.getAllEvents(folderPath);
|
||||||
DavGatewayTray.debug(new BundleMessage("LOG_FOUND_CALENDAR_EVENTS", events.size()));
|
DavGatewayTray.debug(new BundleMessage("LOG_FOUND_CALENDAR_EVENTS", events.size()));
|
||||||
appendEventsResponses(response, request, events);
|
appendEventsResponses(response, request, events);
|
||||||
// TODO does not work with iCal3
|
// Send sub folders for multi-calendar support under iCal
|
||||||
/*
|
|
||||||
List<ExchangeSession.Folder> folderList = session.getSubCalendarFolders(folderPath, false);
|
List<ExchangeSession.Folder> folderList = session.getSubCalendarFolders(folderPath, false);
|
||||||
for (ExchangeSession.Folder folder : folderList) {
|
for (ExchangeSession.Folder folder : folderList) {
|
||||||
appendCalendar(response, request, folder.folderPath.substring(folder.folderPath.indexOf('/') + 1));
|
appendCalendar(response, request, folder.folderPath.substring(folder.folderPath.indexOf('/') + 1));
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
response.endMultistatus();
|
response.endMultistatus();
|
||||||
response.close();
|
response.close();
|
||||||
|
Loading…
Reference in New Issue
Block a user