aerc/worker/imap
Tim Culverhouse fb5558da81 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>
2022-07-24 23:06:10 +02:00
..
cache.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
checkmail.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
configure.go imap: add option to cache headers 2022-06-22 11:26:13 +02:00
connect.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
create.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
fetch.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
flags.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
idler.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
imap.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
list.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
movecopy.go dirlist: update RUE counts for imap/maildir on move|copy|delete|archive 2022-06-07 16:19:23 +02:00
observer.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
open.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
remove.go go vet: composite literal uses unkeyed fields 2022-03-18 13:33:16 +01:00
search.go threading: enable filtering of server-side threads 2022-07-10 21:15:12 +02:00
seqmap.go seqmap: sync seqNum to uid after expunge 2022-07-24 23:06:10 +02:00
seqmap_test.go seqmap: sync seqNum to uid after expunge 2022-07-24 23:06:10 +02:00
worker.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00