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
1 changed files with 2 additions and 3 deletions

View File

@ -524,12 +524,11 @@ public class CaldavConnection extends AbstractConnection {
List<ExchangeSession.Event> events = session.getAllEvents(folderPath);
DavGatewayTray.debug(new BundleMessage("LOG_FOUND_CALENDAR_EVENTS", events.size()));
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);
for (ExchangeSession.Folder folder : folderList) {
appendCalendar(response, request, folder.folderPath.substring(folder.folderPath.indexOf('/') + 1));
}*/
}
}
response.endMultistatus();
response.close();