/offlineimap/head: changeset 485
Applied patch from Joerg Wendland <joergland@debian.org> to use APPENDUID result from mail servers that provide it. Closes: #198772. Resolves: [debian.org #198772]
This commit is contained in:
parent
96ac95c13f
commit
d636f95d45
@ -4,6 +4,8 @@ offlineimap (3.99.19) unstable; urgency=low
|
|||||||
folder. Per [complete.org #67], when cachemessagelist() was called
|
folder. Per [complete.org #67], when cachemessagelist() was called
|
||||||
on an object that was cached from a previous run, it would not
|
on an object that was cached from a previous run, it would not
|
||||||
re-issue the select().
|
re-issue the select().
|
||||||
|
* Applied patch from Joerg Wendland <joergland@debian.org> to use
|
||||||
|
APPENDUID result from mail servers that provide it. Closes: #198772.
|
||||||
|
|
||||||
-- John Goerzen <jgoerzen@complete.org> Mon, 2 Jun 2003 07:04:53 -0500
|
-- John Goerzen <jgoerzen@complete.org> Mon, 2 Jun 2003 07:04:53 -0500
|
||||||
|
|
||||||
|
@ -142,6 +142,9 @@ class IMAPFolder(BaseFolder):
|
|||||||
return leader + newline + trailer
|
return leader + newline + trailer
|
||||||
|
|
||||||
def savemessage_searchforheader(self, imapobj, headername, headervalue):
|
def savemessage_searchforheader(self, imapobj, headername, headervalue):
|
||||||
|
if imapobj.untagged_responses.has_key('APPENDUID'):
|
||||||
|
return long(imapobj.untagged_responses['APPENDUID'][0].split(' ')[1])
|
||||||
|
|
||||||
ui = UIBase.getglobalui()
|
ui = UIBase.getglobalui()
|
||||||
ui.debug('imap', 'savemessage_searchforheader called for %s: %s' % \
|
ui.debug('imap', 'savemessage_searchforheader called for %s: %s' % \
|
||||||
(headername, headervalue))
|
(headername, headervalue))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user