mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Small improvement
This commit is contained in:
parent
3868ac652c
commit
a443f1299f
1 changed files with 2 additions and 4 deletions
|
@ -453,10 +453,8 @@ public class EntityOperation {
|
||||||
try {
|
try {
|
||||||
JSONArray jargs = new JSONArray(args);
|
JSONArray jargs = new JSONArray(args);
|
||||||
long tmpid = jargs.optLong(2, -1);
|
long tmpid = jargs.optLong(2, -1);
|
||||||
if (tmpid < 0)
|
if (tmpid > 0)
|
||||||
return;
|
db.message().deleteMessage(tmpid);
|
||||||
|
|
||||||
db.message().deleteMessage(tmpid);
|
|
||||||
} catch (JSONException ex) {
|
} catch (JSONException ex) {
|
||||||
Log.e(ex);
|
Log.e(ex);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue