make sure we fetch source flags when resuming --renew

... and the target is expunged.
This commit is contained in:
Oswald Buddenhagen 2022-04-12 10:32:19 +02:00
parent a652043934
commit e6c6840651

View File

@ -742,6 +742,8 @@ box_opened2( sync_vars_t *svars, int t )
t = !srec->uid[F] ? F : N; t = !srec->uid[F] ? F : N;
opts[t] |= OPEN_APPEND; opts[t] |= OPEN_APPEND;
opts[t^1] |= OPEN_OLD; opts[t^1] |= OPEN_OLD;
if (chan->ops[t] & OP_EXPUNGE) // Don't propagate doomed msgs
opts[t^1] |= OPEN_FLAGS;
} }
} }
} }