1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-23 14:41:08 +00:00

Sync subscribed folder

This commit is contained in:
M66B 2021-02-19 19:07:42 +01:00
parent 668445e9ea
commit 40568c42b0

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);