1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 03:05:31 +00:00

Prevent crash

This commit is contained in:
M66B 2019-10-21 09:06:02 +02:00
parent af318125d1
commit c71bd88789

View file

@ -279,7 +279,7 @@ public class EntityRule {
boolean execute(Context context, EntityMessage message) throws JSONException, IOException {
boolean executed = _execute(context, message);
if (executed) {
if (id != null && executed) {
DB db = DB.getInstance(context);
db.rule().applyRule(id);
}