mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 13:24:52 +02:00
Cleanup
This commit is contained in:
@@ -1548,7 +1548,7 @@ class Core {
|
||||
try {
|
||||
for (EntityRule rule : rules)
|
||||
if (rule.matches(context, message, imessage)) {
|
||||
rule.execute(context, db, message);
|
||||
rule.execute(context, message);
|
||||
if (rule.stop)
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -196,7 +196,7 @@ public class EntityRule {
|
||||
return matched;
|
||||
}
|
||||
|
||||
void execute(Context context, DB db, EntityMessage message) throws IOException {
|
||||
void execute(Context context, EntityMessage message) throws IOException {
|
||||
try {
|
||||
JSONObject jaction = new JSONObject(action);
|
||||
int type = jaction.getInt("type");
|
||||
|
||||
Reference in New Issue
Block a user