Fixed always blocking domains

This commit is contained in:
M66B 2020-04-25 16:17:13 +02:00
parent e28b8e87c2
commit d5a2b0fe4a
1 changed files with 1 additions and 1 deletions

View File

@ -6054,7 +6054,7 @@ public class FragmentMessages extends FragmentBase implements SharedPreferences.
if ((block_sender || block_domain) &&
(message.from != null && message.from.length > 0)) {
EntityRule rule = EntityRule.blockSender(context, message, junk, block_sender, whitelist);
EntityRule rule = EntityRule.blockSender(context, message, junk, block_domain, whitelist);
rule.id = db.rule().insertRule(rule);
}