mirror of https://github.com/M66B/FairEmail.git
Skip auto block for not spam
This commit is contained in:
parent
dc585813a8
commit
a1c3ead732
|
@ -228,6 +228,7 @@ public class EntityOperation {
|
||||||
|
|
||||||
if (EntityFolder.JUNK.equals(target.type) &&
|
if (EntityFolder.JUNK.equals(target.type) &&
|
||||||
Objects.equals(source.account, target.account) &&
|
Objects.equals(source.account, target.account) &&
|
||||||
|
!message.isNotJunk(context) &&
|
||||||
(jargs.opt(3) == null || !jargs.optBoolean(3))) {
|
(jargs.opt(3) == null || !jargs.optBoolean(3))) {
|
||||||
jargs.remove(3);
|
jargs.remove(3);
|
||||||
EntityLog.log(context, "Auto block sender=" + MessageHelper.formatAddresses(message.from));
|
EntityLog.log(context, "Auto block sender=" + MessageHelper.formatAddresses(message.from));
|
||||||
|
|
Loading…
Reference in New Issue