summaryrefslogtreecommitdiffstats
path: root/mh.c
diff options
context:
space:
mode:
Diffstat (limited to 'mh.c')
-rw-r--r--mh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mh.c b/mh.c
index eff55bd4..2c1c6343 100644
--- a/mh.c
+++ b/mh.c
@@ -1382,7 +1382,7 @@ static int mh_sync_message (CONTEXT * ctx, int msgno)
{
HEADER *h = ctx->hdrs[msgno];
- if (h->attach_del)
+ if (h->attach_del || h->refs_changed || h->irt_changed)
if (mh_rewrite_message (ctx, msgno) != 0)
return -1;
@@ -1393,9 +1393,9 @@ static int maildir_sync_message (CONTEXT * ctx, int msgno)
{
HEADER *h = ctx->hdrs[msgno];
- if (h->attach_del)
+ if (h->attach_del || h->refs_changed || h->irt_changed)
{
- /* when doing attachment deletion, fall back to the MH case. */
+ /* when doing attachment deletion/rethreading, fall back to the MH case. */
if (mh_rewrite_message (ctx, msgno) != 0)
return (-1);
}