mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-29 00:51:44 +01:00
Cleanup attachment operations
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user