Skip auto block for not spam

pull/209/head
M66B 2 years ago
parent dc585813a8
commit a1c3ead732

@ -228,6 +228,7 @@ public class EntityOperation {
if (EntityFolder.JUNK.equals(target.type) &&
Objects.equals(source.account, target.account) &&
!message.isNotJunk(context) &&
(jargs.opt(3) == null || !jargs.optBoolean(3))) {
jargs.remove(3);
EntityLog.log(context, "Auto block sender=" + MessageHelper.formatAddresses(message.from));

Loading…
Cancel
Save