mirror of https://github.com/M66B/FairEmail.git
Keep removed message on seen
This commit is contained in:
parent
1faaa46df8
commit
119ade3d01
|
@ -609,7 +609,9 @@ class Core {
|
|||
db.operation().deleteOperation(op.id);
|
||||
|
||||
// Cleanup messages
|
||||
if (message != null && MessageHelper.isRemoved(ex))
|
||||
if (message != null &&
|
||||
MessageHelper.isRemoved(ex) &&
|
||||
!EntityOperation.SEEN.equals(op.name))
|
||||
db.message().deleteMessage(message.id);
|
||||
|
||||
db.setTransactionSuccessful();
|
||||
|
|
Loading…
Reference in New Issue