mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Refactoring
This commit is contained in:
@@ -415,7 +415,7 @@ public class Helper {
|
||||
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info";
|
||||
draft.received = new Date().getTime();
|
||||
draft.id = db.message().insertMessage(draft);
|
||||
writeText(EntityMessage.getFile(context, draft.id), body);
|
||||
writeText(draft.getFile(context), body);
|
||||
db.message().setMessageContent(draft.id, true, HtmlHelper.getPreview(body), null);
|
||||
|
||||
attachSettings(context, draft.id, 1);
|
||||
|
||||
Reference in New Issue
Block a user