mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
b4fbf80141
commit
d70517cdfe
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue