mirror of https://github.com/M66B/FairEmail.git
Always unhide on move
This commit is contained in:
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,8 +292,7 @@ public class EntityOperation {
|
|||
message.ui_flagged = false;
|
||||
message.color = null;
|
||||
}
|
||||
if (message.ui_snoozed == null)
|
||||
message.ui_hide = false;
|
||||
message.ui_hide = false;
|
||||
message.ui_browsed = false;
|
||||
message.error = null;
|
||||
message.id = db.message().insertMessage(message);
|
||||
|
|
Loading…
Reference in New Issue