Fixed extra Reference

This commit is contained in:
M66B 2018-12-27 08:26:38 +00:00
parent 8a7cacc8d9
commit 13417b132f
1 changed files with 1 additions and 3 deletions

View File

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