1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-14 03:32:22 -05:00

Task folder flag

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1732 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2011-07-08 21:19:47 +00:00
parent a5d856f819
commit 5e873cf756

View File

@ -1539,6 +1539,15 @@ public abstract class ExchangeSession {
return "IPF.Contact".equals(folderClass);
}
/**
* Task folder flag.
*
* @return true if this is a task folder
*/
public boolean isTask() {
return "IPF.Task".equals(folderClass);
}
/**
* drop cached message
*/
@ -2465,13 +2474,14 @@ public abstract class ExchangeSession {
}
if (LOGGER.isDebugEnabled()) {
StringBuilder logBuffer = new StringBuilder("Sending notification");
StringBuilder logBuffer = new StringBuilder("Sending notification ");
if (recipients.attendees != null) {
logBuffer.append("to: ").append(recipients.attendees);
}
if (recipients.optionalAttendees != null) {
logBuffer.append("cc: ").append(recipients.optionalAttendees);
}
LOGGER.debug(logBuffer.toString());
}
} else {
// need to parse attendees and organizer to build recipients