stop UID FETCH 0 errors
This commit is contained in:
parent
2e52bcdafe
commit
b39845c488
@ -242,7 +242,8 @@ class IMAPFolder(BaseFolder):
|
|||||||
finally:
|
finally:
|
||||||
self.imapserver.releaseconnection(imapobj)
|
self.imapserver.releaseconnection(imapobj)
|
||||||
|
|
||||||
self.messagelist[uid] = {'uid': uid, 'flags': flags}
|
if uid:
|
||||||
|
self.messagelist[uid] = {'uid': uid, 'flags': flags}
|
||||||
ui.debug('imap', 'savemessage: returning %d' % uid)
|
ui.debug('imap', 'savemessage: returning %d' % uid)
|
||||||
return uid
|
return uid
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user