projects
/
org.ibex.mail.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b011623
)
fixed query inversion bug in IMAP
author
adam
<adam@megacz.com>
Sat, 30 Oct 2004 05:47:43 +0000
(
05:47
+0000)
committer
adam
<adam@megacz.com>
Sat, 30 Oct 2004 05:47:43 +0000
(
05:47
+0000)
darcs-hash:
20041030054743
-5007d-
08272edad49412f63ab6743e02e1d6a87043ac69
.gz
src/org/ibex/mail/protocol/IMAP.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/mail/protocol/IMAP.java
b/src/org/ibex/mail/protocol/IMAP.java
index
627070e
..
368a1b2
100644
(file)
--- a/
src/org/ibex/mail/protocol/IMAP.java
+++ b/
src/org/ibex/mail/protocol/IMAP.java
@@
-551,7
+551,7
@@
public class IMAP {
else if (s.equals("SENTSINCE")) q = Query.sent(token().date(), new Date(Long.MAX_VALUE));
else if (s.equals("SENTON")) { Date d = token().date(); q = Query.sent(d, new Date(d.getTime() + 24 * 60 * 60)); }
else if (s.equals("UID")) q = Query.uid(token().set());
- return q;
+ return not ? Query.not(q) : q;
}
private static void bad(String s) { throw new Server.Bad(s); }