james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nor...@apache.org
Subject svn commit: r1147482 - /james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/StatusProcessor.java
Date Sat, 16 Jul 2011 20:07:05 GMT
Author: norman
Date: Sat Jul 16 20:07:05 2011
New Revision: 1147482

URL: http://svn.apache.org/viewvc?rev=1147482&view=rev
Log:
Handle the "CONDSTORE enabling commands" as stated in CONDSTORE RFC. This say we MUST include
MODSEQ infos in any untagges FETCH Responses after a "CONDSTORE enabling command" was issued
and the selected mailbox does store the mod sequences in a permanent way. See IMAP-305

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

Modified: james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/StatusProcessor.java
URL: http://svn.apache.org/viewvc/james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/StatusProcessor.java?rev=1147482&r1=1147481&r2=1147482&view=diff
==============================================================================
--- james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/StatusProcessor.java
(original)
+++ james/imap/trunk/processor/src/main/java/org/apache/james/imap/processor/StatusProcessor.java
Sat Jul 16 20:07:05 2011
@@ -20,7 +20,6 @@
 package org.apache.james.imap.processor;
 
 import org.apache.james.imap.api.ImapCommand;
-import org.apache.james.imap.api.ImapConstants;
 import org.apache.james.imap.api.ImapSessionUtils;
 import org.apache.james.imap.api.display.HumanReadableText;
 import org.apache.james.imap.api.message.StatusDataItems;
@@ -82,7 +81,7 @@ public class StatusProcessor extends Abs
             
             // Enable CONDSTORE as this is a CONDSTORE enabling command
             if (highestModSeq != null) {
-                EnableProcessor.getEnabledCapabilities(session).add(ImapConstants.SUPPORTS_CONDSTORE);
+                condstoreEnablingCommand(session, responder, metaData, false); 
             }
             final MailboxStatusResponse response = new MailboxStatusResponse(messages, recent,
uidNext, highestModSeq, uidValidity, unseen, request.getMailboxName());
             responder.respond(response);



---------------------------------------------------------------------
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