Don't request INTERNALDATE when we don't need it. Patch from Marc MERLIN.
This commit is contained in:
parent
312b91a1a5
commit
e66fd5f51a
@ -135,7 +135,7 @@ class IMAPFolder(BaseFolder):
|
|||||||
# Now, get the flags and UIDs for these.
|
# Now, get the flags and UIDs for these.
|
||||||
# We could conceivably get rid of maxmsgid and just say
|
# We could conceivably get rid of maxmsgid and just say
|
||||||
# '1:*' here.
|
# '1:*' here.
|
||||||
response = imapobj.fetch('1:%d' % maxmsgid, '(FLAGS UID INTERNALDATE)')[1]
|
response = imapobj.fetch('1:%d' % maxmsgid, '(FLAGS UID)')[1]
|
||||||
finally:
|
finally:
|
||||||
self.imapserver.releaseconnection(imapobj)
|
self.imapserver.releaseconnection(imapobj)
|
||||||
for messagestr in response:
|
for messagestr in response:
|
||||||
|
Loading…
Reference in New Issue
Block a user