1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

Caldav: fix regression

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1785 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-09-06 21:52:28 +00:00
parent 3486940ec5
commit e2ee71f10a

View File

@ -676,7 +676,7 @@ public class CaldavConnection extends AbstractConnection {
CaldavResponse response = new CaldavResponse(HttpStatus.SC_MULTI_STATUS);
response.startMultistatus();
// ical calendar folder proppatch
if (hasIcalProperties) {
if (request.hasProperty("calendar-color") || request.hasProperty("calendar-order")) {
response.startPropstat();
if (request.hasProperty("calendar-color")) {
response.appendProperty("x1:calendar-color", "x1=\"http://apple.com/ns/ical/\"", null);