Commit 23ad254c authored by Mickaël Guessant's avatar Mickaël Guessant

Caldav: fix #628, remove METHOD: PUBLISH from events retrieved from Exchange

git-svn-id: https://svn.code.sf.net/p/davmail/code/trunk@2456 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent 8d99aac2
......@@ -158,6 +158,10 @@ public class VCalendar extends VObject {
setPropertyValue("X-CALENDARSERVER-ACCESS", getCalendarServerAccess());
}
if (fromServer && "PUBLISH".equals(getPropertyValue("METHOD"))) {
removeProperty("METHOD");
}
// iCal 4 global X-CALENDARSERVER-ACCESS
String calendarServerAccess = getPropertyValue("X-CALENDARSERVER-ACCESS");
String now = ExchangeSession.getZuluDateFormat().format(new Date());
......
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