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:
parent
4f6c6d8471
commit
3868ac652c
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue