Always unhide on move

pull/197/head
M66B 4 years ago
parent 7c2c6addeb
commit 4c64edcb0a

@ -4530,8 +4530,6 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
db.message().setMessageSnoozed(message.id, hide ? Long.MAX_VALUE : null);
db.message().setMessageUiIgnored(message.id, true);
if (!hide)
db.message().setMessageUiHide(message.id, false);
EntityMessage.snooze(context, message.id, hide ? Long.MAX_VALUE : null);
db.setTransactionSuccessful();

@ -3453,7 +3453,6 @@ class Core {
}
if (message.ui_hide &&
message.ui_snoozed == null &&
(message.ui_busy == null || message.ui_busy < new Date().getTime()) &&
db.operation().getOperationCount(folder.id, message.id) == 0 &&
db.operation().getOperationCount(folder.id, EntityOperation.PURGE) == 0) {

@ -292,7 +292,6 @@ public class EntityOperation {
message.ui_flagged = false;
message.color = null;
}
if (message.ui_snoozed == null)
message.ui_hide = false;
message.ui_browsed = false;
message.error = null;

Loading…
Cancel
Save