Small improvement

This commit is contained in:
M66B 2019-04-11 11:57:56 +02:00
parent 683087bfe4
commit 3436448855
1 changed files with 2 additions and 0 deletions

View File

@ -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);