mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 03:02:22 -05:00
EWS: use isrecurring with Exchange 2010 and instancetype with Exchange 2007
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1757 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
172edf059b
commit
dfc1338e90
@ -1495,9 +1495,14 @@ public class EwsExchangeSession extends ExchangeSession {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Condition getCalendarItemCondition(boolean excludeTasks, Condition dateCondition) {
|
protected Condition getCalendarItemCondition(boolean excludeTasks, Condition dateCondition) {
|
||||||
// tasks in calendar not supported over EWS
|
if ("Exchange2010".equals(serverVersion)) {
|
||||||
return or(isTrue("isrecurring"),
|
// tasks in calendar not supported over EWS
|
||||||
and(isFalse("isrecurring"), dateCondition));
|
return or(isTrue("isrecurring"),
|
||||||
|
and(isFalse("isrecurring"), dateCondition));
|
||||||
|
} else {
|
||||||
|
return or(isEqualTo("instancetype", 1),
|
||||||
|
and(isEqualTo("instancetype", 0), dateCondition));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user