1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00

Check if folders exist (experiment)

This commit is contained in:
M66B 2020-06-10 09:34:07 +02:00
parent 05789c1a8d
commit 867b0226a0

View file

@ -1377,6 +1377,13 @@ class Core {
} }
} }
//Log.i("Checking if folders exist");
//for (Folder ifolder : new ArrayList<Folder>(ifolders))
// if (!ifolder.exists()) {
// Log.w("Folder does not exist name=" + ifolder.getFullName());
// ifolders.remove(ifolder);
// }
List<String> subscription = new ArrayList<>(); List<String> subscription = new ArrayList<>();
try { try {
Folder[] isubscribed = defaultFolder.listSubscribed("*"); Folder[] isubscribed = defaultFolder.listSubscribed("*");