Sync subscribed folder

This commit is contained in:
M66B 2021-02-19 19:07:42 +01:00
parent 668445e9ea
commit 40568c42b0
1 changed files with 3 additions and 1 deletions

View File

@ -1903,7 +1903,9 @@ class Core {
folder.inferiors = inferiors;
folder.setSpecials(account);
folder.id = db.folder().insertFolder(folder);
Log.i(folder.name + " added type=" + folder.type);
Log.i(folder.name + " added type=" + folder.type + " sync=" + folder.synchronize);
if (folder.synchronize)
EntityOperation.sync(context, folder.id, false);
} else {
Log.i(folder.name + " exists type=" + folder.type);