mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Cleanup orphaned messages
This commit is contained in:
@@ -2234,6 +2234,9 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
}
|
||||
}
|
||||
|
||||
// Delete not synchronized messages without uid
|
||||
db.message().deleteOrphans(folder.id);
|
||||
|
||||
db.folder().setFolderSyncState(folder.id, "downloading");
|
||||
|
||||
//fp.add(IMAPFolder.FetchProfileItem.MESSAGE);
|
||||
|
||||
Reference in New Issue
Block a user