mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-02 15:17:03 +02:00
Send fixes
This commit is contained in:
@@ -188,13 +188,17 @@ public class EntityMessage implements Serializable {
|
||||
return addresses.toArray(new Address[0]);
|
||||
}
|
||||
|
||||
File getFile(Context context) {
|
||||
static File getFile(Context context, Long id) {
|
||||
File dir = new File(context.getFilesDir(), "messages");
|
||||
if (!dir.exists())
|
||||
dir.mkdir();
|
||||
return new File(dir, id.toString());
|
||||
}
|
||||
|
||||
File getFile(Context context) {
|
||||
return getFile(context, id);
|
||||
}
|
||||
|
||||
File getFile(Context context, int revision) {
|
||||
File dir = new File(context.getFilesDir(), "revision");
|
||||
if (!dir.exists())
|
||||
|
||||
Reference in New Issue
Block a user