Caldav: retrieve VTODO events created in the calendar folder, even if they remain invisible in OWA and Outlook

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@474 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-03-22 19:22:27 +00:00
parent 2bbf11d320
commit cc61a50a39
1 changed files with 3 additions and 1 deletions

View File

@ -1189,7 +1189,9 @@ public class ExchangeSession {
String searchQuery = "Select \"DAV:getetag\"" +
" FROM Scope('SHALLOW TRAVERSAL OF \"" + calendarUrl + "\"')\n" +
" WHERE (\"urn:schemas:calendar:instancetype\" = 1\n" +
" WHERE (" +
" \"urn:schemas:calendar:instancetype\" is null OR" +
" \"urn:schemas:calendar:instancetype\" = 1\n" +
" OR (\"urn:schemas:calendar:instancetype\" = 0\n" +
dateCondition +
" )) AND \"DAV:contentclass\" = 'urn:content-classes:appointment'\n" +