]> granicus.if.org Git - mutt/commitdiff
1595: My guess is this bug is caused by mlarson@verisign.com's patch
authorBrendan Cully <brendan@kublai.com>
Mon, 11 Aug 2003 14:06:08 +0000 (14:06 +0000)
committerBrendan Cully <brendan@kublai.com>
Mon, 11 Aug 2003 14:06:08 +0000 (14:06 +0000)
to check for UNSEEN rather than RECENT messages. This means that as
long as there are messages in a mailbox either new or old, mutt will
think it has new mail.

The attached patch reverts that change. Let me know if it solves the
problem.

imap/imap.c

index a890e7ad1f7d2e29e405f823817c3960c7f147ae..16413111f507155ebee5711a60a26497c8aa3e02 100644 (file)
@@ -1208,7 +1208,7 @@ int imap_mailbox_check (char* path, int new)
           mutt_bit_isset(idata->capabilities,STATUS))
   {                            
     snprintf (buf, sizeof (buf), "STATUS %s (%s)", mbox,
-      new ? "UNSEEN" : "MESSAGES");
+      new ? "RECENT" : "MESSAGES");
   }
   else
     /* Server does not support STATUS, and this is not the current mailbox.