Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib-index: Fix next_uid lookup in open transaction that has appended …
…mails The appended mails were used for returning an updated mail_index_header.next_uid, but only if the mails were assigned UIDs in mail_index_append(). It should have updated the next_uid also after mail_index_append_finish_uids() was used to assign the UIDs. This fixes setting first_recent_uid correctly for virtual mailboxes when the sync finds new mails. Avoids multiple sessions from getting \Recent flags for the same mails.
- Loading branch information