mirror of https://github.com/M66B/FairEmail.git
Fixed always blocking domains
This commit is contained in:
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…
Reference in New Issue