Commit
285baf9a improved FLAGS parsing such that "spurious" FLAGS
updates won't cause a mailbox reopen.
Remove the h->active=0 hack because it isn't needed now and makes
reasoning about deletes, purges, and message set generation more
difficult.
mutt_buffer_addstr (cmd, flags);
mutt_buffer_addstr (cmd, ")");
- /* dumb hack for bad UW-IMAP 4.7 servers spurious FLAGS updates */
- hdr->active = 0;
-
/* after all this it's still possible to have no flags, if you
* have no ACL rights */
if (*flags && (imap_exec (idata, cmd->data, 0) != 0) &&
*err_continue = imap_continue ("imap_sync_message: STORE failed",
idata->buf);
if (*err_continue != MUTT_YES)
- {
- hdr->active = 1;
return -1;
- }
}
- hdr->active = 1;
if (hdr->deleted == HEADER_DATA(hdr)->deleted)
hdr->changed = 0;