From 13417b132f6aeff0e4d68c88a78a207d8596e57b Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 27 Dec 2018 08:26:38 +0000 Subject: [PATCH] Fixed extra Reference --- app/src/main/java/eu/faircode/email/MessageHelper.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/MessageHelper.java b/app/src/main/java/eu/faircode/email/MessageHelper.java index e9f9e7dcaa..80b69aea10 100644 --- a/app/src/main/java/eu/faircode/email/MessageHelper.java +++ b/app/src/main/java/eu/faircode/email/MessageHelper.java @@ -180,9 +180,7 @@ public class MessageHelper { if (message.replying != null) replying = db.message().getMessage(message.replying); - if (replying == null) - imessage.addHeader("References", message.msgid); - else { + if (replying != null) { imessage.addHeader("In-Reply-To", replying.msgid); imessage.addHeader("References", (replying.references == null ? "" : replying.references + " ") + replying.msgid); }