Caldav: Fix shared calendar support for Lightning

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@665 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2009-08-11 16:36:17 +00:00
parent 986bfd0be8
commit e161efce5b
1 changed files with 1 additions and 3 deletions

View File

@ -721,9 +721,7 @@ public class CaldavConnection extends AbstractConnection {
response.appendHrefProperty("C:calendar-user-address-set", "mailto:" + actualPrincipal);
}
// no inbox/outbox for delegated/shared calendars
// case insensitive to avoir "response..*::["schedule-inbox-URL"]..*::href[0] is undefined" error in Lightning
if ("users".equals(prefix) && session.getEmail().equalsIgnoreCase(principal)) {
if ("users".equals(prefix)) {
if (request.hasProperty("schedule-inbox-URL")) {
response.appendHrefProperty("C:schedule-inbox-URL", "/users/" + actualPrincipal + "/inbox");
}