Changeset 5026:dc7ed7df43aa for imap

Show
Ignore:
Timestamp:
2007-03-30 14:12:58 (20 months ago)
Author:
Brendan Cully <brendan@…>
Branch:
default
Message:

Use RECENT for first mailbox check if header cache check fails

Location:
imap
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • imap/command.c

    r5025 r5026  
    939939          } 
    940940        } 
    941         else 
     941        else if (!olduv && !oldun) 
     942          /* first check per session, use recent. might need a flag for this. */ 
     943          inc->new = status->recent; 
     944        else 
    942945          inc->new = status->unseen; 
    943946 
  • imap/imap.c

    r5006 r5026  
    14791479     
    14801480    imap_munge_mbox_name (munged, sizeof (munged), name); 
    1481     snprintf (command, sizeof (command), "STATUS %s (UIDNEXT UIDVALIDITY UNSEEN)", munged); 
     1481    snprintf (command, sizeof (command), 
     1482              "STATUS %s (UIDNEXT UIDVALIDITY UNSEEN RECENT)", munged); 
    14821483 
    14831484    if (imap_cmd_queue (idata, command) < 0)