Small improvement

This commit is contained in:
M66B 2019-01-18 18:40:37 +00:00
parent 7582384d6e
commit ac3f655637
1 changed files with 1 additions and 1 deletions

View File

@ -315,11 +315,11 @@ public class Helper {
draft.msgid = EntityMessage.generateMessageId(); draft.msgid = EntityMessage.generateMessageId();
draft.to = new Address[]{Helper.myAddress()}; draft.to = new Address[]{Helper.myAddress()};
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info"; draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info";
draft.content = true;
draft.received = new Date().getTime(); draft.received = new Date().getTime();
draft.setContactInfo(context); draft.setContactInfo(context);
draft.id = db.message().insertMessage(draft); draft.id = db.message().insertMessage(draft);
draft.write(context, body); draft.write(context, body);
db.message().setMessageContent(draft.id, true, HtmlHelper.getPreview(body));
attachSettings(context, draft.id, 1); attachSettings(context, draft.id, 1);
attachNetworkInfo(context, draft.id, 2); attachNetworkInfo(context, draft.id, 2);