mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 07:06:18 +02:00
Moved cleaning up image cache to daily job
This commit is contained in:
@@ -153,7 +153,8 @@ public class EntityMessage implements Serializable {
|
||||
|
||||
static File getFile(Context context, Long id) {
|
||||
File dir = new File(context.getFilesDir(), "messages");
|
||||
dir.mkdir();
|
||||
if (!dir.exists())
|
||||
dir.mkdir();
|
||||
return new File(dir, id.toString());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user