commit d92c62022ab0ef7dfcdf144ef5525d38858c9806
Author: Oswald Buddenhagen <[email protected]>
Date: Wed Dec 8 13:58:01 2021 +0100
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 31789133..15a44fd3 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;
}
_______________________________________________
isync-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/isync-devel