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:
77141e5
)
IMAP: partial support for async flag updates
author
adam
<adam@megacz.com>
Fri, 7 Jan 2005 18:22:01 +0000
(18:22 +0000)
committer
adam
<adam@megacz.com>
Fri, 7 Jan 2005 18:22:01 +0000
(18:22 +0000)
darcs-hash:
20050107182201
-5007d-
873340240fc4f4c71f4b7a622c248d576e3084eb
.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
1feeddb
..
493d40a
100644
(file)
--- a/
src/org/ibex/mail/protocol/IMAP.java
+++ b/
src/org/ibex/mail/protocol/IMAP.java
@@
-390,6
+390,12
@@
public class IMAP {
Message m = o == null ? null : o instanceof Message ? (Message)o : null;
boolean e = q == null;
+ // asynchronous flags update
+ if (size == -1) {
+ println("* " + num + " FETCH (FLAGS " + Printer.flags(flags) + (uid?(" UID "+muid):"") + ")");
+ return;
+ }
+
lastfetch = t;
int spec = 0; // spec; see constants for flags
String[] headers = null;