Erase identity on pre move

This commit is contained in:
M66B 2019-06-13 17:53:56 +02:00
parent 4471e08341
commit 2e2fe58cc1
1 changed files with 4 additions and 0 deletions

View File

@ -153,13 +153,16 @@ public class EntityOperation {
// Copy message to target folder // Copy message to target folder
long id = message.id; long id = message.id;
Long identity = message.identity;
long uid = message.uid; long uid = message.uid;
boolean seen = message.seen; boolean seen = message.seen;
boolean ui_seen = message.ui_seen; boolean ui_seen = message.ui_seen;
boolean ui_browsed = message.ui_browsed; boolean ui_browsed = message.ui_browsed;
message.id = null; message.id = null;
message.account = target.account; message.account = target.account;
message.folder = target.id; message.folder = target.id;
message.identity = null;
message.uid = null; message.uid = null;
if (autoread) { if (autoread) {
message.seen = true; message.seen = true;
@ -173,6 +176,7 @@ public class EntityOperation {
message.id = id; message.id = id;
message.account = source.account; message.account = source.account;
message.folder = source.id; message.folder = source.id;
message.identity = identity;
message.uid = uid; message.uid = uid;
message.seen = seen; message.seen = seen;
message.ui_seen = ui_seen; message.ui_seen = ui_seen;