mirror of
https://github.com/moparisthebest/davmail
synced 2025-01-12 05:58:48 -05:00
Caldav: avoid invalid X-CALENDARSERVER-ACCESS and CLASS
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1449 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
defaf63d4b
commit
cd5eacfb56
@ -357,8 +357,6 @@ public class VCalendar extends VObject {
|
||||
return "CONFIDENTIAL";
|
||||
} else if ("CONFIDENTIAL".equalsIgnoreCase(calendarServerAccess) || "RESTRICTED".equalsIgnoreCase(calendarServerAccess)) {
|
||||
return "PRIVATE";
|
||||
} else if (calendarServerAccess != null && calendarServerAccess.length() > 0) {
|
||||
return calendarServerAccess;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
@ -376,8 +374,6 @@ public class VCalendar extends VObject {
|
||||
return "CONFIDENTIAL";
|
||||
} else if ("CONFIDENTIAL".equalsIgnoreCase(eventClass)) {
|
||||
return "PRIVATE";
|
||||
} else if (eventClass != null && eventClass.length() > 0) {
|
||||
return eventClass;
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user