diff --git a/app/src/main/java/eu/faircode/email/WorkerCleanup.java b/app/src/main/java/eu/faircode/email/WorkerCleanup.java index 16f6f198c9..f4aa3fe8de 100644 --- a/app/src/main/java/eu/faircode/email/WorkerCleanup.java +++ b/app/src/main/java/eu/faircode/email/WorkerCleanup.java @@ -224,7 +224,6 @@ public class WorkerCleanup extends Worker { cleanupMessageFiles(db, manual, new File[]{file}); } } - cleanupMessageFiles(db, manual, Helper.listFiles(new File(context.getFilesDir(), "messages")).toArray(new File[0])); cleanupMessageFiles(db, manual, new File(context.getFilesDir(), "revision").listFiles()); cleanupMessageFiles(db, manual, new File(context.getFilesDir(), "references").listFiles()); cleanupMessageFiles(db, manual, new File(context.getFilesDir(), "encryption").listFiles());