mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-02 02:50:56 +01:00
Refactoring
This commit is contained in:
@@ -289,7 +289,7 @@ public class MessageHelper {
|
||||
DB db = DB.getInstance(context);
|
||||
|
||||
StringBuilder body = new StringBuilder();
|
||||
body.append(Helper.readText(EntityMessage.getFile(context, message.id)));
|
||||
body.append(Helper.readText(message.getFile(context)));
|
||||
|
||||
if (message.identity != null) {
|
||||
EntityIdentity identity = db.identity().getIdentity(message.identity);
|
||||
@@ -297,7 +297,7 @@ public class MessageHelper {
|
||||
body.append(identity.signature);
|
||||
}
|
||||
|
||||
File refFile = EntityMessage.getRefFile(context, message.id);
|
||||
File refFile = message.getRefFile(context);
|
||||
if (refFile.exists())
|
||||
body.append(Helper.readText(refFile));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user