Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net_imap: Fix incorrect sequence numbers in untagged EXPUNGE.
Fix the wrong sequence numbers being used in untagged EXPUNGE replies created by the MOVE command. Originally, it was using the same sequence numbers provided to the command, but this is wrong since sequence numbers decrement implicitly when a message is expunged, and would cause some MUAs to behave erratically since they were misled about what messages were expunged from the mailbox. Correct this by adjusting bookkeeping during the MOVE traversal to ensure the correct sequence numbers go out in the EXPUNGE reply.
- Loading branch information