mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-28 10:47:28 +00:00
Small improvement
This commit is contained in:
parent
911c5662a2
commit
3777412b79
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ public class EntityRule {
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean onActionCopy(Context context, EntityMessage message, JSONObject jargs) throws JSONException {
|
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);
|
DB db = DB.getInstance(context);
|
||||||
EntityFolder folder = db.folder().getFolder(target);
|
EntityFolder folder = db.folder().getFolder(target);
|
||||||
|
|
Loading…
Reference in a new issue