mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-01 10:35:15 +01:00
Revised revisions
This commit is contained in:
@@ -228,17 +228,13 @@ public class EntityMessage implements Serializable {
|
||||
return new File(dir, id + "." + revision);
|
||||
}
|
||||
|
||||
static File getRefFile(Context context, Long id) {
|
||||
File getRefFile(Context context) {
|
||||
File dir = new File(context.getFilesDir(), "references");
|
||||
if (!dir.exists())
|
||||
dir.mkdir();
|
||||
return new File(dir, id.toString());
|
||||
}
|
||||
|
||||
File getRefFile(Context context) {
|
||||
return getRefFile(context, id);
|
||||
}
|
||||
|
||||
File getRawFile(Context context) {
|
||||
File dir = new File(context.getFilesDir(), "raw");
|
||||
if (!dir.exists())
|
||||
|
||||
Reference in New Issue
Block a user