mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-14 19:52:21 -05:00
Caldav: Send root instead of calendar href as inbox to fix iCal regression
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@894 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
e53f62b415
commit
f4f472ed27
@ -780,13 +780,13 @@ public class CaldavConnection extends AbstractConnection {
|
|||||||
response.appendHrefProperty("C:schedule-outbox-URL", "/users/" + actualPrincipal + "/outbox");
|
response.appendHrefProperty("C:schedule-outbox-URL", "/users/" + actualPrincipal + "/outbox");
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// public calendar, send calendar href as inbox url
|
// public calendar, send root href as inbox url (always empty)
|
||||||
if (request.hasProperty("schedule-inbox-URL")) {
|
if (request.hasProperty("schedule-inbox-URL")) {
|
||||||
response.appendHrefProperty("C:schedule-inbox-URL", '/' + prefix + '/' + actualPrincipal);
|
response.appendHrefProperty("C:schedule-inbox-URL", "/");
|
||||||
}
|
}
|
||||||
|
// send user outbox
|
||||||
if (request.hasProperty("schedule-outbox-URL")) {
|
if (request.hasProperty("schedule-outbox-URL")) {
|
||||||
response.appendHrefProperty("C:schedule-outbox-URL", '/' + prefix + '/' + actualPrincipal);
|
response.appendHrefProperty("C:schedule-outbox-URL", "/users/"+session.getEmail()+"/outbox" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user