james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1098388 - /james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java
Date Sun, 01 May 2011 19:09:53 GMT
Author: norman
Date: Sun May  1 19:09:53 2011
New Revision: 1098388

URL: http://svn.apache.org/viewvc?rev=1098388&view=rev
Log:
Send FLAGS / PERMANENTFLAGS responses for new flags/keywords. See IMAP-303

Modified:
    james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java

Modified: james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java?rev=1098388&r1=1098387&r2=1098388&view=diff
==============================================================================
--- james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java
(original)
+++ james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/base/MailboxEventAnalyser.java
Sun May  1 19:09:53 2011
@@ -149,6 +149,9 @@ public class MailboxEventAnalyser extend
                         
                        for (int i = 0; i < flags.size(); i++) {
                           applicableFlags.add(flags.get(i).getNewFlags());
+                          
+                          // \RECENT is not a applicable flag in imap so remove it from the
list
+                          applicableFlags.remove(Flags.Flag.RECENT);
                        }
                        if (size < applicableFlags.getSystemFlags().length) {
                           applicableFlagsChanged = true;



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message