mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-04 14:52:24 -05:00
Caldav: do not overwrite X-MICROSOFT-CDO-BUSYSTATUS if TRANSP is not provided
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2168 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
69346f7c31
commit
912dd7a9d3
@ -280,8 +280,10 @@ public class VCalendar extends VObject {
|
||||
}
|
||||
// set OWA allday flag
|
||||
vObject.setPropertyValue("X-MICROSOFT-CDO-ALLDAYEVENT", isAllDay(vObject) ? "TRUE" : "FALSE");
|
||||
vObject.setPropertyValue("X-MICROSOFT-CDO-BUSYSTATUS",
|
||||
!"TRANSPARENT".equals(vObject.getPropertyValue("TRANSP")) ? "BUSY" : "FREE");
|
||||
if (vObject.getPropertyValue("TRANSP") != null) {
|
||||
vObject.setPropertyValue("X-MICROSOFT-CDO-BUSYSTATUS",
|
||||
!"TRANSPARENT".equals(vObject.getPropertyValue("TRANSP")) ? "BUSY" : "FREE");
|
||||
}
|
||||
|
||||
if (isAllDay(vObject)) {
|
||||
// convert date values to outlook compatible values
|
||||
|
Loading…
Reference in New Issue
Block a user