Changeset 5062:5e0ea671962d
- Timestamp:
- 2007-04-04 11:47:28 (22 months ago)
- Author:
- Brendan Cully <brendan@…>
- Branch:
- HEAD
- Message:
-
Only reset UIDNEXT if new mail has been detected.
This prevents mutt from suddenly finding new mail when switching
from unknown UIDVALIDITY to known.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r5047
|
r5062
|
|
| 910 | 910 | inc->new = status->unseen; |
| 911 | 911 | |
| 912 | | /* forced back to keep detecting new mail until the mailbox is opened */ |
| 913 | | status->uidnext = oldun; |
| | 912 | if (inc->new) |
| | 913 | /* force back to keep detecting new mail until the mailbox is |
| | 914 | opened */ |
| | 915 | status->uidnext = oldun; |
| 914 | 916 | |
| 915 | 917 | FREE (&value); |