mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-27 19:35:10 +01:00
Added option to cancel snooze on moving messages
This commit is contained in:
@@ -210,6 +210,7 @@ public class EntityOperation {
|
||||
boolean autoread = prefs.getBoolean("autoread", false);
|
||||
boolean autounflag = prefs.getBoolean("autounflag", false);
|
||||
boolean reset_importance = prefs.getBoolean("reset_importance", false);
|
||||
boolean reset_snooze = prefs.getBoolean("reset_snooze", false);
|
||||
|
||||
if (jargs.opt(1) != null) {
|
||||
// rules, classify
|
||||
@@ -313,7 +314,8 @@ public class EntityOperation {
|
||||
}
|
||||
|
||||
if (message.ui_snoozed != null &&
|
||||
(EntityFolder.ARCHIVE.equals(target.type) ||
|
||||
(reset_snooze ||
|
||||
EntityFolder.ARCHIVE.equals(target.type) ||
|
||||
EntityFolder.TRASH.equals(target.type) ||
|
||||
EntityFolder.JUNK.equals(target.type))) {
|
||||
message.ui_snoozed = null;
|
||||
|
||||
Reference in New Issue
Block a user