1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-21 15:08:52 -05:00

Fix #35 duplicates in updated reoccurring events

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2307 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-07-31 20:55:24 +00:00
parent d071c59e4a
commit 6960cb58e9

View File

@ -1832,7 +1832,6 @@ public class EwsExchangeSession extends ExchangeSession {
executeMethod(getOccurrenceMethod);
fixAttendees(getOccurrenceMethod, modifiedOccurrence);
if ("Exchange2007_SP1".equals(serverVersion)) {
// fix uid, should be the same as main VEVENT
if (calendaruid != null) {
modifiedOccurrence.setPropertyValue("UID", calendaruid);
@ -1846,7 +1845,6 @@ public class EwsExchangeSession extends ExchangeSession {
}
}
}
}
// restore mozilla invitations option
localVCalendar.setFirstVeventPropertyValue("X-MOZ-SEND-INVITATIONS",
getItemMethod.getResponseItem().get(Field.get("xmozsendinvitations").getResponseName()));
@ -2569,6 +2567,7 @@ public class EwsExchangeSession extends ExchangeSession {
/**
* Check if itemName is long and base64 encoded.
* User generated item names are usually short
*
* @param itemName item name
* @return true if itemName is an EWS item id
*/