mirror of https://github.com/M66B/FairEmail.git
Hide message on moving to junk
This commit is contained in:
parent
9cbda608dc
commit
ac4e904d29
|
@ -131,7 +131,8 @@ public class EntityOperation {
|
|||
if (source.id.equals(target.id))
|
||||
return;
|
||||
|
||||
if (!EntityFolder.ARCHIVE.equals(source.type) || EntityFolder.TRASH.equals(target.type))
|
||||
if (!EntityFolder.ARCHIVE.equals(source.type) ||
|
||||
EntityFolder.TRASH.equals(target.type) || EntityFolder.JUNK.equals(target.type))
|
||||
db.message().setMessageUiHide(message.id, new Date().getTime());
|
||||
|
||||
if (message.ui_snoozed != null &&
|
||||
|
|
Loading…
Reference in New Issue