Browse Source

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

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2297 3d1905a2-6b24-0410-a738-b14d5a86fcbd
master
mguessan 9 years ago
parent
commit
06d934a464
  1. 2
      src/java/davmail/exchange/ews/EwsExchangeSession.java

2
src/java/davmail/exchange/ews/EwsExchangeSession.java

@ -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);
attendeeProperty.addParam("CN", attendee.name);
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));
} else {
attendeeProperty.addParam("PARTSTAT", attendee.partstat);

Loading…
Cancel
Save