mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-31 10:01:22 +01:00
Small improvement
This commit is contained in:
@@ -453,10 +453,8 @@ public class EntityOperation {
|
||||
try {
|
||||
JSONArray jargs = new JSONArray(args);
|
||||
long tmpid = jargs.optLong(2, -1);
|
||||
if (tmpid < 0)
|
||||
return;
|
||||
|
||||
db.message().deleteMessage(tmpid);
|
||||
if (tmpid > 0)
|
||||
db.message().deleteMessage(tmpid);
|
||||
} catch (JSONException ex) {
|
||||
Log.e(ex);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user