mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 03:32:22 -05:00
Caldav: Workaround for Lightning 1.0pre public calendar, send calendar href as inbox/outbox urls
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@890 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
9424b1e639
commit
b8e3a2aafc
@ -779,6 +779,15 @@ public class CaldavConnection extends AbstractConnection {
|
||||
if (request.hasProperty("schedule-outbox-URL")) {
|
||||
response.appendHrefProperty("C:schedule-outbox-URL", "/users/" + actualPrincipal + "/outbox");
|
||||
}
|
||||
} else {
|
||||
// public calendar, send calendar href as inbox url
|
||||
if (request.hasProperty("schedule-inbox-URL")) {
|
||||
response.appendHrefProperty("C:schedule-inbox-URL", '/' + prefix + '/' + actualPrincipal);
|
||||
}
|
||||
|
||||
if (request.hasProperty("schedule-outbox-URL")) {
|
||||
response.appendHrefProperty("C:schedule-outbox-URL", '/' + prefix + '/' + actualPrincipal);
|
||||
}
|
||||
}
|
||||
|
||||
if (request.hasProperty("displayname")) {
|
||||
|
Loading…
Reference in New Issue
Block a user