Sync folders on add account

This commit is contained in:
M66B
2020-04-05 22:01:27 +02:00
parent b637453ca7
commit e24ce5ead6
3 changed files with 8 additions and 1 deletions

View File

@@ -493,6 +493,8 @@ public class FragmentOAuth extends FragmentBase {
folder.account = account.id;
folder.id = db.folder().insertFolder(folder);
EntityLog.log(context, "OAuth folder=" + folder.name + " type=" + folder.type);
if (folder.synchronize)
EntityOperation.sync(context, folder.id, false);
}
}