commit e6c6840651b794e00bd1dc800a47079d82b121ff
Author: Oswald Buddenhagen <o...@users.sf.net>
Date:   Tue Apr 12 10:32:19 2022 +0200

    make sure we fetch source flags when resuming --renew
    
    ... and the target is expunged.

 src/sync.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/sync.c b/src/sync.c
index 3320531a..58556da5 100644
--- a/src/sync.c
+++ b/src/sync.c
@@ -742,6 +742,8 @@ box_opened2( sync_vars_t *svars, int t )
                                t = !srec->uid[F] ? F : N;
                                opts[t] |= OPEN_APPEND;
                                opts[t^1] |= OPEN_OLD;
+                               if (chan->ops[t] & OP_EXPUNGE)  // Don't 
propagate doomed msgs
+                                       opts[t^1] |= OPEN_FLAGS;
                        }
                }
        }


_______________________________________________
isync-devel mailing list
isync-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/isync-devel

Reply via email to