Snooze moved message again

pull/197/head
M66B 4 years ago
parent f59d64d9b6
commit c0b2ea1cc1

@ -292,7 +292,8 @@ public class EntityOperation {
message.ui_flagged = false; message.ui_flagged = false;
message.color = null; message.color = null;
} }
message.ui_hide = false; if (message.ui_snoozed != null)
message.ui_hide = false;
message.ui_browsed = false; message.ui_browsed = false;
message.error = null; message.error = null;
message.id = db.message().insertMessage(message); message.id = db.message().insertMessage(message);
@ -329,6 +330,9 @@ public class EntityOperation {
} }
EntityAttachment.copy(context, message.id, tmpid); EntityAttachment.copy(context, message.id, tmpid);
if (message.ui_snoozed != null)
EntityMessage.snooze(context, tmpid, message.ui_snoozed);
} }
// Cross account move // Cross account move

Loading…
Cancel
Save