Commit a60fba84 authored by Mickaël Guessant's avatar Mickaël Guessant

Caldav: merge 33, apply myresponsetype partstat on all Exchange versions

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2297 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 0ba15ec9
...@@ -1871,7 +1871,7 @@ public class EwsExchangeSession extends ExchangeSession { ...@@ -1871,7 +1871,7 @@ public class EwsExchangeSession extends ExchangeSession {
VProperty attendeeProperty = new VProperty("ATTENDEE", "mailto:" + attendee.email); VProperty attendeeProperty = new VProperty("ATTENDEE", "mailto:" + attendee.email);
attendeeProperty.addParam("CN", attendee.name); attendeeProperty.addParam("CN", attendee.name);
String myResponseType = getItemMethod.getResponseItem().get(Field.get("myresponsetype").getResponseName()); String myResponseType = getItemMethod.getResponseItem().get(Field.get("myresponsetype").getResponseName());
if ("Exchange2007_SP1".equals(serverVersion) && email.equalsIgnoreCase(attendee.email) && myResponseType != null) { if (email.equalsIgnoreCase(attendee.email) && myResponseType != null) {
attendeeProperty.addParam("PARTSTAT", EWSMethod.responseTypeToPartstat(myResponseType)); attendeeProperty.addParam("PARTSTAT", EWSMethod.responseTypeToPartstat(myResponseType));
} else { } else {
attendeeProperty.addParam("PARTSTAT", attendee.partstat); attendeeProperty.addParam("PARTSTAT", attendee.partstat);
......
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