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

IMAP: fix 2934922, implement (NOT DELETED) in search filter

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@913 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2010-01-19 13:40:29 +00:00
parent 833c2a4d41
commit c4739b57b1

View File

@ -908,7 +908,7 @@ public class ImapConnection extends AbstractConnection {
conditions.append(operator).append("\"urn:schemas:httpmail:read\" = False");
} else if ("DELETED".equals(token)) {
conditions.deleted = !operator.endsWith(" NOT ");
} else if ("UNDELETED".equals(token)) {
} else if ("UNDELETED".equals(token) || "NOT DELETED".equals(token)) {
conditions.deleted = Boolean.FALSE;
} else if ("FLAGGED".equals(token)) {
conditions.flagged = Boolean.TRUE;