upas/fs: remove imap lastread debounding
its unclear why this was here, waketime logic should handle this already.
This commit is contained in:
parent
1d94a18e56
commit
075e1ddd7d
1 changed files with 0 additions and 5 deletions
|
@ -39,8 +39,6 @@ typedef struct {
|
|||
|
||||
typedef struct Imap Imap;
|
||||
struct Imap {
|
||||
ulong lastread;
|
||||
|
||||
char *mbox;
|
||||
/* free this to free the strings below */
|
||||
char *freep;
|
||||
|
@ -913,9 +911,6 @@ imap4read(Imap *imap, Mailbox *mb, int doplumb, int *new)
|
|||
Message *m, **ll;
|
||||
|
||||
*new = 0;
|
||||
if((ulong)time(0) - imap->lastread < 10)
|
||||
return nil;
|
||||
imap->lastread = time(0);
|
||||
imap4cmd(imap, "status %Z (messages uidvalidity)", imap->mbox);
|
||||
if(!isokay(s = imap4resp(imap)))
|
||||
return s;
|
||||
|
|
Loading…
Reference in a new issue