Hide message on moving to junk

This commit is contained in:
M66B 2019-07-25 10:14:32 +02:00
parent 9cbda608dc
commit ac4e904d29
1 changed files with 2 additions and 1 deletions

View File

@ -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 &&