Set contact info in download phase

This commit is contained in:
M66B
2018-12-07 15:23:17 +01:00
parent 1d99a40216
commit 35407bf289
5 changed files with 12 additions and 11 deletions

View File

@@ -565,7 +565,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " crash log";
draft.content = true;
draft.received = new Date().getTime();
draft.getAvatar(context);
draft.setContactInfo(context);
draft.id = db.message().insertMessage(draft);
draft.write(context, body);
@@ -871,7 +871,7 @@ public class ActivityView extends ActivityBilling implements FragmentManager.OnB
draft.subject = context.getString(R.string.app_name) + " " + BuildConfig.VERSION_NAME + " debug info";
draft.content = true;
draft.received = new Date().getTime();
draft.getAvatar(context);
draft.setContactInfo(context);
draft.id = db.message().insertMessage(draft);
draft.write(context, body);