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.
This commit is contained in:
Oswald Buddenhagen 2021-12-08 13:58:01 +01:00
parent f7650993b7
commit d92c62022a

View File

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