From d92c62022ab0ef7dfcdf144ef5525d38858c9806 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Wed, 8 Dec 2021 13:58:01 +0100 Subject: [PATCH] treat not-really-propagated messages as trashable messages for which only a placeholder was propagated should be treated as not propagated, as otherwise the actual contents will be lost when only not propagated messages are trashed. amends 70bad661. --- src/sync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sync.c b/src/sync.c index 3178913..15a44fd 100644 --- a/src/sync.c +++ b/src/sync.c @@ -1570,7 +1570,7 @@ msgs_flags_set( sync_vars_t *svars, int t ) debug( "is expired\n" ); continue; } - if (only_new && !(srec->status & (S_PENDING | S_SKIPPED))) { + if (only_new && !(srec->status & (S_PENDING | S_DUMMY(t^1) | S_SKIPPED))) { debug( "is not new\n" ); continue; }