From 3fe434b60c0e6ba91a190535781cc1ecd93eb247 Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 2 Aug 2018 17:42:57 +0000 Subject: [PATCH] Add debug info to remote drafts --- app/src/main/java/eu/faircode/email/ActivityView.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/ActivityView.java b/app/src/main/java/eu/faircode/email/ActivityView.java index eda98a50..8750b8b4 100644 --- a/app/src/main/java/eu/faircode/email/ActivityView.java +++ b/app/src/main/java/eu/faircode/email/ActivityView.java @@ -320,6 +320,8 @@ public class ActivityView extends ActivityBase implements FragmentManager.OnBack draft.ui_hide = false; draft.id = db.message().insertMessage(draft); + EntityOperation.queue(ActivityView.this, draft, EntityOperation.ADD); + startActivity(new Intent(ActivityView.this, ActivityCompose.class) .putExtra("id", draft.id)); }