From 278a56333565a7a90efcab811c7a44615ae5db7c Mon Sep 17 00:00:00 2001 From: Aurelien Aptel Date: Sun, 3 Jun 2018 17:18:06 +0200 Subject: [PATCH] always reply to last message for now --- app/src/main/java/org/notmuchmail/notmuch/ThreadActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/org/notmuchmail/notmuch/ThreadActivity.java b/app/src/main/java/org/notmuchmail/notmuch/ThreadActivity.java index 4c4981e..72783e0 100644 --- a/app/src/main/java/org/notmuchmail/notmuch/ThreadActivity.java +++ b/app/src/main/java/org/notmuchmail/notmuch/ThreadActivity.java @@ -55,7 +55,8 @@ protected void onCreate(Bundle savedInstanceState) { @Override public void onClick(View view) { Intent intent = new Intent(ThreadActivity.this, ComposeActivity.class); - intent.putExtra("query", query); + // TODO always reply to last messages now, add button per email + intent.putExtra("query", "id:" + messages.get(messages.size() - 1).id); intent.putExtra("replyall", true); startActivity(intent); }