mirror of https://github.com/M66B/FairEmail.git
Set ignore when setting seen
This commit is contained in:
parent
ec4e1d2400
commit
5d0eb6a2ab
|
@ -924,6 +924,7 @@ public class FragmentMessages extends FragmentEx {
|
|||
|
||||
if (!message.ui_seen && !EntityFolder.OUTBOX.equals(folder.type)) {
|
||||
db.message().setMessageUiSeen(message.id, true);
|
||||
db.message().setMessageUiIgnored(message.id, true);
|
||||
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
|
||||
}
|
||||
|
||||
|
|
|
@ -265,6 +265,7 @@ public class ServiceSynchronize extends LifecycleService {
|
|||
EntityMessage message = db.message().getMessage(id);
|
||||
if ("seen".equals(action)) {
|
||||
db.message().setMessageUiSeen(message.id, true);
|
||||
db.message().setMessageUiIgnored(message.id, true);
|
||||
EntityOperation.queue(db, message, EntityOperation.SEEN, true);
|
||||
} else if ("trash".equals(action)) {
|
||||
db.message().setMessageUiHide(message.id, true);
|
||||
|
|
Loading…
Reference in New Issue