Fixed always blocking domains

pull/178/head
M66B 5 years ago
parent e28b8e87c2
commit d5a2b0fe4a

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

Loading…
Cancel
Save