Commit a84a70cb authored by Mickaël Guessant's avatar Mickaël Guessant

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

git-svn-id: 3d1905a2-6b24-0410-a738-b14d5a86fcbd
parent a8d35728
......@@ -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)) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment