Revert "Small improvement"

This reverts commit a443f1299f.
pull/187/head
M66B 4 years ago
parent 136effb6eb
commit be7fc3a0da

@ -453,7 +453,9 @@ 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…
Cancel
Save