diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2022-07-24 10:13:43 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-07-24 23:06:10 +0200 |
commit | fb5558da811a49031922ee5582f61ac1d9b08d3c (patch) | |
tree | a46c5ba47429dabfbcb42d7f2f11891ef2a62503 /widgets/msglist.go | |
parent | 9bfcec56600a20f3e84404e4ddba7d0a5ceecbd9 (diff) | |
download | aerc-fb5558da811a49031922ee5582f61ac1d9b08d3c.tar.gz |
seqmap: sync seqNum to uid after expunge
This patch updates the seqNums after an Expunge operation. When an
expunge operation occurs, the seqNum of the deleted message is reported.
The Imap spec [0] states that an immediate decrement of all seqnums greater
than the deleted occurs, even before the next reporting of an expunge
update.
[0]: https://datatracker.ietf.org/doc/html/rfc3501#section-7.4.1
Fixes: https://todo.sr.ht/~rjarry/aerc/61
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Signed-off-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'widgets/msglist.go')
0 files changed, 0 insertions, 0 deletions