[commit] master: make sure we fetch source flags when resuming --renew
mailbox synchronizer
Brought to you by:
ossi
|
From: Oswald B. <os...@us...> - 2022-06-19 14:38:10
|
commit e6c6840651b794e00bd1dc800a47079d82b121ff
Author: Oswald Buddenhagen <os...@us...>
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;
}
}
}
|