Browse Source

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.
wip/maildir-path-under-inbox
Oswald Buddenhagen 3 years ago
parent
commit
d92c62022a
  1. 2
      src/sync.c

2
src/sync.c

@ -1570,7 +1570,7 @@ msgs_flags_set( sync_vars_t *svars, int t )
debug( "is expired\n" ); debug( "is expired\n" );
continue; 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" ); debug( "is not new\n" );
continue; continue;
} }

Loading…
Cancel
Save