1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 19:52:21 -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:
mguessan 2009-10-03 20:50:33 +00:00
parent f3913ba8fc
commit 8cd4941db0

View File

@ -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();