From: Brendan Cully Date: Mon, 11 Aug 2003 14:06:08 +0000 (+0000) Subject: 1595: My guess is this bug is caused by mlarson@verisign.com's patch X-Git-Tag: pre-type-punning-patch~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71b7ed01752280ea24647f03fa0e5b43c8f90096;p=mutt 1595: My guess is this bug is caused by mlarson@verisign.com's patch 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. --- diff --git a/imap/imap.c b/imap/imap.c index a890e7ad..16413111 100644 --- a/imap/imap.c +++ b/imap/imap.c @@ -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.