fix: don't copy messages if not necessary
Fix regresssion introduced in 428349e3
.
Prevent messages with UID's already in the destination folder from getting
excluded from the copy list.
Signed-off-by: Janna Martl <janna.martl109@gmail.com>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
parent
fe92025c8f
commit
731129396c
@ -770,7 +770,7 @@ class BaseFolder(object):
|
||||
content = self.getmessage(uid)
|
||||
rtime = emailutil.get_message_date(content, 'Date')
|
||||
statusfolder.savemessage(uid, None, flags, rtime)
|
||||
copylist.remove(uid)
|
||||
continue
|
||||
|
||||
self.ui.copyingmessage(uid, num+1, num_to_copy, self, dstfolder)
|
||||
# exceptions are caught in copymessageto()
|
||||
|
Loading…
Reference in New Issue
Block a user