mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 19:22:22 -05:00
Caldav: add a hidden davmail.caldavDisableInbox to allow users to disable Caldav Inbox with Thunderbird 3 and Lightning
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@942 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
d9538e774b
commit
58eddd24f7
@ -504,7 +504,7 @@ public class CaldavConnection extends AbstractConnection {
|
||||
CaldavResponse response = new CaldavResponse(HttpStatus.SC_MULTI_STATUS);
|
||||
response.startMultistatus();
|
||||
appendInbox(response, request, null);
|
||||
if (request.getDepth() == 1) {
|
||||
if (request.getDepth() == 1 && !Settings.getBooleanProperty("davmail.caldavDisableInbox")) {
|
||||
try {
|
||||
DavGatewayTray.debug(new BundleMessage("LOG_SEARCHING_CALENDAR_MESSAGES"));
|
||||
List<ExchangeSession.Event> events = session.getEventMessages(request.getExchangeFolderPath());
|
||||
|
Loading…
Reference in New Issue
Block a user