Merge branch 'master' into next
This commit is contained in:
commit
71d0828cd6
@ -16,9 +16,14 @@ New Features
|
|||||||
Changes
|
Changes
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
* Increase compatability with Gmail servers which claim to not support
|
||||||
|
the UIDPLUS extension but in reality do.
|
||||||
|
|
||||||
Bug Fixes
|
Bug Fixes
|
||||||
---------
|
---------
|
||||||
|
|
||||||
|
* Fix hang when using Ctrl+C in some cases.
|
||||||
|
|
||||||
|
|
||||||
Pending for the next major release
|
Pending for the next major release
|
||||||
==================================
|
==================================
|
||||||
|
@ -265,10 +265,9 @@ class SyncableAccount(Account):
|
|||||||
mbnames.write()
|
mbnames.write()
|
||||||
localrepos.forgetfolders()
|
localrepos.forgetfolders()
|
||||||
remoterepos.forgetfolders()
|
remoterepos.forgetfolders()
|
||||||
|
finally:
|
||||||
localrepos.holdordropconnections()
|
localrepos.holdordropconnections()
|
||||||
remoterepos.holdordropconnections()
|
remoterepos.holdordropconnections()
|
||||||
finally:
|
|
||||||
pass
|
|
||||||
|
|
||||||
hook = self.getconf('postsynchook', '')
|
hook = self.getconf('postsynchook', '')
|
||||||
self.callhook(hook)
|
self.callhook(hook)
|
||||||
|
@ -439,8 +439,9 @@ class IMAPFolder(BaseFolder):
|
|||||||
(typ,dat) = imapobj.check()
|
(typ,dat) = imapobj.check()
|
||||||
assert(typ == 'OK')
|
assert(typ == 'OK')
|
||||||
|
|
||||||
# get the UID.
|
# get the new UID. Test for APPENDUID response even if the
|
||||||
if use_uidplus:
|
# server claims to not support it, as e.g. Gmail does :-(
|
||||||
|
if use_uidplus or imapobj._get_untagged_response('APPENDUID', True):
|
||||||
# get the new UID from the APPENDUID response, it could look like
|
# get the new UID from the APPENDUID response, it could look like
|
||||||
# OK [APPENDUID 38505 3955] APPEND completed
|
# OK [APPENDUID 38505 3955] APPEND completed
|
||||||
# with 38505 bein folder UIDvalidity and 3955 the new UID
|
# with 38505 bein folder UIDvalidity and 3955 the new UID
|
||||||
|
Loading…
Reference in New Issue
Block a user