mirror of https://github.com/M66B/FairEmail.git
Small improvement
This commit is contained in:
parent
683087bfe4
commit
3436448855
|
@ -423,6 +423,8 @@ public class Helper {
|
|||
draft.to = new Address[]{myAddress()};
|
||||
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info";
|
||||
draft.received = new Date().getTime();
|
||||
draft.seen = true;
|
||||
draft.ui_seen = true;
|
||||
draft.id = db.message().insertMessage(draft);
|
||||
writeText(draft.getFile(context), body);
|
||||
db.message().setMessageContent(draft.id, true, HtmlHelper.getPreview(body), null);
|
||||
|
|
Loading…
Reference in New Issue