don't clobber message status when upgrading placeholders
we'd reset the possibly set M_RECENT flag, which would lead to
pointless maildir rescans.
amends 70bad661
.
This commit is contained in:
parent
2e17f427a9
commit
c1feba585a
|
@ -1770,7 +1770,7 @@ box_loaded( int sts, message_t *msgs, int total_msgs, int recent_msgs, void *aux
|
||||||
} else {
|
} else {
|
||||||
// Pretend that the source message has the adjusted flags of the dummy.
|
// Pretend that the source message has the adjusted flags of the dummy.
|
||||||
tmsg->flags = srec->pflags;
|
tmsg->flags = srec->pflags;
|
||||||
tmsg->status = M_FLAGS;
|
tmsg->status |= M_FLAGS;
|
||||||
any_new[t] = 1;
|
any_new[t] = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user