mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 19:10:11 +01:00
Refresh sync parameters
This commit is contained in:
@@ -1839,6 +1839,9 @@ public class ServiceSynchronize extends LifecycleService {
|
||||
private void synchronizeMessages(EntityAccount account, EntityFolder folder, IMAPFolder ifolder, ServiceState state) throws MessagingException, IOException {
|
||||
DB db = DB.getInstance(this);
|
||||
try {
|
||||
// Refresh parameters
|
||||
folder = db.folder().getFolder(folder.id);
|
||||
|
||||
Log.v(Helper.TAG, folder.name + " start sync after=" + folder.sync_days + "/" + folder.keep_days);
|
||||
|
||||
db.folder().setFolderState(folder.id, "syncing");
|
||||
|
||||
Reference in New Issue
Block a user