1
0
mirror of https://github.com/moparisthebest/davmail synced 2024-12-21 23:18:49 -05:00

IMAP: fix 209, use isEqualTo instead of contains to search keywords on Exchange 2010

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@2283 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2014-04-02 22:39:48 +00:00
parent 7a02917815
commit 8ab1160567

View File

@ -1343,7 +1343,7 @@ public class ImapConnection extends AbstractConnection {
session.contains("to", value),
session.contains("cc", value));
} else if ("KEYWORD".equals(token)) {
return session.contains("keywords", session.convertFlagToKeyword(tokens.nextToken()));
return session.isEqualTo("keywords", session.convertFlagToKeyword(tokens.nextToken()));
} else if ("FROM".equals(token)) {
return session.contains("from", tokens.nextToken());
} else if ("TO".equals(token)) {