mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-21 15:08:52 -05:00
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
This commit is contained in:
parent
a39f9512ef
commit
06d934a464
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user