/offlineimap/head: changeset 151
Now put messages with 'S' flag into 'cur'. [complete.org #4], deb#152482
This commit is contained in:
parent
46df79b49f
commit
65459424ec
@ -5,6 +5,8 @@ offlineimap (3.0.3) unstable; urgency=low
|
|||||||
Closes: #153425.
|
Closes: #153425.
|
||||||
* No longer doubles-up reference names for mailboxes. Closes: #153515.
|
* No longer doubles-up reference names for mailboxes. Closes: #153515.
|
||||||
* Noted new bug-tracking system in manual and rebuilt manual files.
|
* Noted new bug-tracking system in manual and rebuilt manual files.
|
||||||
|
* Now stores incoming messages in 'cur' instead of 'new' if they have
|
||||||
|
the S flag. Closes: #152482.
|
||||||
|
|
||||||
-- John Goerzen <jgoerzen@complete.org> Thu, 18 Jul 2002 17:46:13 -0500
|
-- John Goerzen <jgoerzen@complete.org> Thu, 18 Jul 2002 17:46:13 -0500
|
||||||
|
|
||||||
|
@ -140,7 +140,12 @@ class MaildirFolder(BaseFolder):
|
|||||||
# We already have it.
|
# We already have it.
|
||||||
self.savemessageflags(uid, flags)
|
self.savemessageflags(uid, flags)
|
||||||
return uid
|
return uid
|
||||||
newdir = os.path.join(self.getfullname(), 'new')
|
if 'S' in flags:
|
||||||
|
# If a message has been seen, it goes into the cur
|
||||||
|
# directory. CR debian#152482, [complete.org #4]
|
||||||
|
newdir = os.path.join(self.getfullname(), 'cur')
|
||||||
|
else:
|
||||||
|
newdir = os.path.join(self.getfullname(), 'new')
|
||||||
tmpdir = os.path.join(self.getfullname(), 'tmp')
|
tmpdir = os.path.join(self.getfullname(), 'tmp')
|
||||||
messagename = None
|
messagename = None
|
||||||
attempts = 0
|
attempts = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user