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); }