Cancel snooze on moving message

pull/197/head
M66B 4 years ago
parent 112ebb43e9
commit c926c573d3

@ -268,6 +268,7 @@ public class EntityOperation {
boolean ui_flagged = message.ui_flagged; boolean ui_flagged = message.ui_flagged;
Boolean ui_hide = message.ui_hide; Boolean ui_hide = message.ui_hide;
boolean ui_browsed = message.ui_browsed; boolean ui_browsed = message.ui_browsed;
Long ui_snoozed = message.ui_snoozed;
Integer color = message.color; Integer color = message.color;
String error = message.error; String error = message.error;
@ -294,6 +295,7 @@ public class EntityOperation {
} }
message.ui_hide = false; message.ui_hide = false;
message.ui_browsed = false; message.ui_browsed = false;
message.ui_snoozed = null;
message.error = null; message.error = null;
message.id = db.message().insertMessage(message); message.id = db.message().insertMessage(message);
@ -317,6 +319,7 @@ public class EntityOperation {
message.ui_flagged = ui_flagged; message.ui_flagged = ui_flagged;
message.ui_hide = ui_hide; message.ui_hide = ui_hide;
message.ui_browsed = ui_browsed; message.ui_browsed = ui_browsed;
message.ui_snoozed = ui_snoozed;
message.color = color; message.color = color;
message.error = error; message.error = error;

Loading…
Cancel
Save