aerc/worker
Koni Marti 0e50f29bf3 notmuch: move logic for dynamic folders to backend
Moves logic for creating dynamic folders from the dirlist widget to the
backend. Since dynamic folders are notmuch-specific, the notmuch backend
should be responsible for correctly setting up those folders. It does
that by sending two DirectoryInfos: the first to create the message
store, the second to fetch the directory content.

This approach also fixes a deadlock introduced by 716ade8968
("worker: lock access to callback maps").

Reported-by: Bence Ferdinandy <bence@ferdinandy.com>
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
2022-09-29 16:52:12 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: send message info updates for bulk flag ops 2022-09-29 16:41:42 +02:00
lib lib: parse address header fields to utf-8 2022-09-29 16:51:53 +02:00
maildir backends: send MessageInfoError on header fetching error 2022-09-25 11:54:27 +02:00
mbox backends: send MessageInfoError on header fetching error 2022-09-25 11:54:27 +02:00
notmuch notmuch: move logic for dynamic folders to backend 2022-09-29 16:52:12 +02:00
types worker: lock access to callback maps 2022-09-26 17:31:53 +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