[Commits] [SCM] claws branch, master, updated. 3.15.0-62-gd661fd7
ticho at claws-mail.org
ticho at claws-mail.org
Wed May 31 21:11:20 CEST 2017
The branch, master has been updated
via d661fd7233e971a190b54ef3fa1dac1861f44833 (commit)
from 61ec4cae4410ebe0ecb652c7c96000301950ecc8 (commit)
Summary of changes:
src/compose.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit d661fd7233e971a190b54ef3fa1dac1861f44833
Author: Andrej Kacian <ticho at claws-mail.org>
Date: Wed May 31 21:10:19 2017 +0200
Only preserve existing Message-ID when reediting a draft.
This is a followup to commit e22cbed1f.
Closes Bug 3828 - "Re-edit" should not recycle the Message-ID header
diff --git a/src/compose.c b/src/compose.c
index 1a6557d..bd34f43 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -2981,7 +2981,9 @@ static gint compose_parse_header(Compose *compose, MsgInfo *msginfo)
if (msginfo->inreplyto && *msginfo->inreplyto)
compose->inreplyto = g_strdup(msginfo->inreplyto);
- if (msginfo->msgid && *msginfo->msgid)
+ if (msginfo->msgid && *msginfo->msgid &&
+ compose->folder != NULL &&
+ compose->folder->stype == F_DRAFT)
compose->msgid = g_strdup(msginfo->msgid);
} else {
if (msginfo->msgid && *msginfo->msgid)
-----------------------------------------------------------------------
hooks/post-receive
--
Claws Mail
More information about the Commits
mailing list