aerc/worker
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
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap seqmap: sync seqNum to uid after expunge 2022-07-24 23:06:10 +02:00
lib mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00
maildir logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
mbox logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
notmuch logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
types logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go logging: use level-based logger functions 2022-07-23 22:52:15 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00