mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 14:41:08 +00:00
Skip blocklist move for trash/junk folder
This commit is contained in:
parent
4683f43b7c
commit
4fe39328dc
1 changed files with 4 additions and 1 deletions
|
@ -3410,7 +3410,10 @@ class Core {
|
|||
|
||||
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);
|
||||
if (use_blocklist) {
|
||||
EntityLog.log(context, "Block list" +
|
||||
|
|
Loading…
Reference in a new issue