Fixed extra Reference

pull/147/head
M66B 6 years ago
parent 8a7cacc8d9
commit 13417b132f

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

Loading…
Cancel
Save