Skip blocklist move for trash/junk folder

pull/199/head
M66B 4 years ago
parent 4683f43b7c
commit 4fe39328dc

@ -3410,7 +3410,10 @@ class Core {
runRules(context, imessage, account, folder, message, rules); runRules(context, imessage, account, folder, message, rules);
if (!have && message.blocklist != null && message.blocklist) { if (!have &&
!EntityFolder.TRASH.equals(folder.type) &&
!EntityFolder.JUNK.equals(folder.type) &&
message.blocklist != null && message.blocklist) {
boolean use_blocklist = prefs.getBoolean("use_blocklist", false); boolean use_blocklist = prefs.getBoolean("use_blocklist", false);
if (use_blocklist) { if (use_blocklist) {
EntityLog.log(context, "Block list" + EntityLog.log(context, "Block list" +

Loading…
Cancel
Save