aerc/worker
Tim Culverhouse a0a5ba1538 imap: create copy of uids to retain sort order
Commit fdfec2c07a seqmap: refactor seqmap to use slice instead of map
introduced a regression to imap sorting (if supported). The slice passed
to seqmap was being sorted in place by UID, thus breaking any sort order
sent by the server.

Create a copy of the slice to retain the sort order reported to the UI
while also keeping a correct map for seqnum -> UID in the worker.

Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-08-22 15:46:49 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: create copy of uids to retain sort order 2022-08-22 15:46:49 +02:00
lib go: removed io/ioutil 2022-08-22 09:30:19 +02:00
maildir go: removed io/ioutil 2022-08-22 09:30:19 +02:00
mbox mbox: filtering for mbox accounts 2022-08-22 09:30:37 +02:00
notmuch go: removed io/ioutil 2022-08-22 09:30:19 +02:00
types mark: (un)mark message threads 2022-08-22 09:30:37 +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