Patch by Manuel Barkhau: exclude private events flag

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1703 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-06-15 20:06:00 +00:00
parent f89511775d
commit bccd9bf06b
1 changed files with 1 additions and 1 deletions

View File

@ -2592,7 +2592,7 @@ public abstract class ExchangeSession {
public List<Event> searchEvents(String folderPath, Condition filter) throws IOException {
Condition privateCondition = null;
if (isSharedFolder(folderPath)) {
if (isSharedFolder(folderPath) && Settings.getBooleanProperty("davmail.excludePrivateEvents", true)) {
LOGGER.debug("Shared or public calendar: exclude private events");
privateCondition = isEqualTo("sensitivity", 0);
}