1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-22 06:01:12 +00:00

Cleanup attachment operations

This commit is contained in:
M66B 2020-10-12 16:38:24 +02:00
parent 4f6c6d8471
commit 3868ac652c

View file

@ -461,6 +461,15 @@ public class EntityOperation {
Log.e(ex);
}
if (EntityOperation.ATTACHMENT.equals(name))
try {
JSONArray jargs = new JSONArray(args);
db.attachment().setProgress(jargs.getLong(0), null);
return;
} catch (JSONException ex) {
Log.e(ex);
}
if (EntityOperation.SYNC.equals(name))
db.folder().setFolderSyncState(folder, null);