1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 18:27:43 +00:00

Small improvement

This commit is contained in:
M66B 2020-07-10 14:35:31 +02:00
parent 911c5662a2
commit 3777412b79

View file

@ -394,7 +394,7 @@ public class EntityRule {
}
private boolean onActionCopy(Context context, EntityMessage message, JSONObject jargs) throws JSONException {
long target = jargs.getLong("target");
long target = jargs.optLong("target", -1);
DB db = DB.getInstance(context);
EntityFolder folder = db.folder().getFolder(target);