1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-13 11:12:22 -05:00

add recallmessage contentclass support

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@41 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2007-03-21 15:35:51 +00:00
parent 6a79873d29
commit 7ed6ac77ec

View File

@ -446,7 +446,8 @@ public class ExchangeSession {
Message message = buildMessage(entity);
if ("urn:content-classes:message".equals(message.contentClass) ||
"urn:content-classes:calendarmessage".equals(message.contentClass)) {
"urn:content-classes:calendarmessage".equals(message.contentClass) ||
"urn:content-classes:recallmessage".equals(message.contentClass)) {
messages.add(message);
}
}
@ -622,7 +623,8 @@ public class ExchangeSession {
protected void preProcessHeaders() {
// only handle exchange messages
if (!"urn:content-classes:message".equals(contentClass) &&
!"urn:content-classes:calendarmessage".equals(contentClass)
!"urn:content-classes:calendarmessage".equals(contentClass) &&
!"urn:content-classes:recallmessage".equals(contentClass)
) {
return;
}