1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-31 20:25:38 +00:00

Erase identity on pre move

This commit is contained in:
M66B 2019-06-13 17:53:56 +02:00
parent 4471e08341
commit 2e2fe58cc1

View file

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