Skip auto block for not spam

This commit is contained in:
M66B 2022-10-03 10:44:38 +02:00
parent dc585813a8
commit a1c3ead732
1 changed files with 1 additions and 0 deletions

View File

@ -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));