mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
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:
parent
986bfd0be8
commit
e161efce5b
@ -721,9 +721,7 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
response.appendHrefProperty("C:calendar-user-address-set", "mailto:" + actualPrincipal);
|
response.appendHrefProperty("C:calendar-user-address-set", "mailto:" + actualPrincipal);
|
||||||
}
|
}
|
||||||
|
|
||||||
// no inbox/outbox for delegated/shared calendars
|
if ("users".equals(prefix)) {
|
||||||
// case insensitive to avoir "response..*::["schedule-inbox-URL"]..*::href[0] is undefined" error in Lightning
|
|
||||||
if ("users".equals(prefix) && session.getEmail().equalsIgnoreCase(principal)) {
|
|
||||||
if (request.hasProperty("schedule-inbox-URL")) {
|
if (request.hasProperty("schedule-inbox-URL")) {
|
||||||
response.appendHrefProperty("C:schedule-inbox-URL", "/users/" + actualPrincipal + "/inbox");
|
response.appendHrefProperty("C:schedule-inbox-URL", "/users/" + actualPrincipal + "/inbox");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user