mirror of
https://github.com/moparisthebest/davmail
synced 2025-03-04 19:29:46 -05:00
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:
parent
f89511775d
commit
bccd9bf06b
@ -2592,7 +2592,7 @@ public abstract class ExchangeSession {
|
|||||||
public List<Event> searchEvents(String folderPath, Condition filter) throws IOException {
|
public List<Event> searchEvents(String folderPath, Condition filter) throws IOException {
|
||||||
|
|
||||||
Condition privateCondition = null;
|
Condition privateCondition = null;
|
||||||
if (isSharedFolder(folderPath)) {
|
if (isSharedFolder(folderPath) && Settings.getBooleanProperty("davmail.excludePrivateEvents", true)) {
|
||||||
LOGGER.debug("Shared or public calendar: exclude private events");
|
LOGGER.debug("Shared or public calendar: exclude private events");
|
||||||
privateCondition = isEqualTo("sensitivity", 0);
|
privateCondition = isEqualTo("sensitivity", 0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user