Improved logging

pull/206/head
M66B 3 years ago
parent 2a11d41ed1
commit d0a037373c

@ -2326,8 +2326,10 @@ class Core {
Log.i("Delete local count=" + local.size()); Log.i("Delete local count=" + local.size());
for (String name : local.keySet()) { for (String name : local.keySet()) {
EntityFolder folder = local.get(name); EntityFolder folder = local.get(name);
if (EntityFolder.INBOX.equals(folder.type)) if (EntityFolder.INBOX.equals(folder.type)) {
Log.e(account.host + " keep inbox");
continue; continue;
}
List<EntityFolder> childs = parentFolders.get(name); List<EntityFolder> childs = parentFolders.get(name);
if (EntityFolder.USER.equals(folder.type) || if (EntityFolder.USER.equals(folder.type) ||
childs == null || childs.size() == 0) { childs == null || childs.size() == 0) {

Loading…
Cancel
Save