@ -1466,7 +1466,8 @@ public class EwsExchangeSession extends ExchangeSession {
@@ -1466,7 +1466,8 @@ public class EwsExchangeSession extends ExchangeSession {
@ -1925,7 +1926,7 @@ public class EwsExchangeSession extends ExchangeSession {
@@ -1925,7 +1926,7 @@ public class EwsExchangeSession extends ExchangeSession {
condition,
FolderQueryTraversal.SHALLOW,0);
for(EWSMethod.Itemresponse:responses){
Eventevent=newEvent(response);
Eventevent=newEvent(folderPath,response);
if("Message".equals(event.type)){
// TODO: just exclude
// need to check body
@ -2034,7 +2035,7 @@ public class EwsExchangeSession extends ExchangeSession {
@@ -2034,7 +2035,7 @@ public class EwsExchangeSession extends ExchangeSession {
||"Task".equals(itemType)
// VTODOs appear as Messages
||"Message".equals(itemType)){
returnnewEvent(item);
returnnewEvent(folderPath,item);
}else{
thrownewHttpNotFoundException(itemName+" not found in "+folderPath);