Small improvement

pull/147/head
M66B 6 years ago
parent 7582384d6e
commit ac3f655637

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

Loading…
Cancel
Save