mirror of https://github.com/M66B/FairEmail.git
Erase identity on pre move
This commit is contained in:
parent
4471e08341
commit
2e2fe58cc1
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue