Cancel snooze on moving to junk

This commit is contained in:
M66B 2021-09-30 19:12:38 +02:00
parent 925e7e2689
commit 9d3b1fd016
1 changed files with 3 additions and 1 deletions

View File

@ -241,7 +241,9 @@ public class EntityOperation {
} }
if (message.ui_snoozed != null && if (message.ui_snoozed != null &&
(EntityFolder.ARCHIVE.equals(target.type) || EntityFolder.TRASH.equals(target.type))) { (EntityFolder.ARCHIVE.equals(target.type) ||
EntityFolder.TRASH.equals(target.type) ||
EntityFolder.JUNK.equals(target.type))) {
message.ui_snoozed = null; message.ui_snoozed = null;
EntityMessage.snooze(context, message.id, null); EntityMessage.snooze(context, message.id, null);
} }