Commit 4ef1426d authored by Mickaël Guessant's avatar Mickaël Guessant

EWS: adjust declined item handling

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2291 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 2704512d
...@@ -730,7 +730,7 @@ public class EwsExchangeSession extends ExchangeSession { ...@@ -730,7 +730,7 @@ public class EwsExchangeSession extends ExchangeSession {
return searchItems(folderPath, attributes, condition, folderQueryTraversal); return searchItems(folderPath, attributes, condition, folderQueryTraversal);
} }
// limited search, do not use paged search, limit with maxCount, sort by imapUid descending to get latest items // limited search, do not use paged search, limit with maxCount, sort by imapUid descending to get latest items
int resultCount = 0; int resultCount;
List<EWSMethod.Item> results = new ArrayList<EWSMethod.Item>(); List<EWSMethod.Item> results = new ArrayList<EWSMethod.Item>();
FindItemMethod findItemMethod; FindItemMethod findItemMethod;
...@@ -1634,9 +1634,8 @@ public class EwsExchangeSession extends ExchangeSession { ...@@ -1634,9 +1634,8 @@ public class EwsExchangeSession extends ExchangeSession {
if ("ACCEPTED".equals(ownerPartStat)) { if ("ACCEPTED".equals(ownerPartStat)) {
ownerResponseReply = "AcceptItem"; ownerResponseReply = "AcceptItem";
// do not send DeclineItem to avoid deleting target event // do not send DeclineItem to avoid deleting target event
//} else if ("DECLINED".equals(ownerPartStat)) { } else if ("DECLINED".equals(ownerPartStat) ||
// ownerResponseReply = "DeclineItem"; "TENTATIVE".equals(ownerPartStat)) {
} else if ("TENTATIVE".equals(ownerPartStat)) {
ownerResponseReply = "TentativelyAcceptItem"; ownerResponseReply = "TentativelyAcceptItem";
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment