mirror of https://github.com/M66B/FairEmail.git
Fixed extra Reference
This commit is contained in:
parent
8a7cacc8d9
commit
13417b132f
|
@ -180,9 +180,7 @@ public class MessageHelper {
|
||||||
if (message.replying != null)
|
if (message.replying != null)
|
||||||
replying = db.message().getMessage(message.replying);
|
replying = db.message().getMessage(message.replying);
|
||||||
|
|
||||||
if (replying == null)
|
if (replying != null) {
|
||||||
imessage.addHeader("References", message.msgid);
|
|
||||||
else {
|
|
||||||
imessage.addHeader("In-Reply-To", replying.msgid);
|
imessage.addHeader("In-Reply-To", replying.msgid);
|
||||||
imessage.addHeader("References", (replying.references == null ? "" : replying.references + " ") + replying.msgid);
|
imessage.addHeader("References", (replying.references == null ? "" : replying.references + " ") + replying.msgid);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue