Keep removed message on seen

pull/198/head
M66B 4 years ago
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…
Cancel
Save