mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-29 11:15:51 +00:00
Refresh sync parameters
This commit is contained in:
parent
22628aef78
commit
3a7a181907
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue