aerc/worker
Julian Pidancet 8153f59188 maildir: fix maildir folder listing
Previous change "maildir: hide invalid folders" prevents filepath.Walk
from descending into directories that don't contain new/, tmp/ or cur/
because the WalkDirFunc returns filepath.SkipDir.

We have to assume that these directories can be the parent of valid
maildir folders even if they're not themselves valid maildir folders, so
it is a mistake not to recurse into these subfolders. Fix it by
returning nil instead of filepath.SkipDir in the WalkDirFunc.

Fixes: 150aa0f498 ("maildir: hide invalid folders")
Signed-off-by: Julian Pidancet <julian.pidancet@oracle.com>
Acked-by: Robin Jarry <robin@jarry.cc>
2022-10-25 23:30:56 +02:00
..
handlers go.mod: change base git url 2021-11-05 10:21:45 +01:00
imap imap: fix flags update 2022-10-04 10:19:40 +02:00
lib lint: check for bad white space habits 2022-10-19 10:19:19 +02:00
maildir maildir: fix maildir folder listing 2022-10-25 23:30:56 +02:00
mbox logging: substitute %w for %v 2022-10-02 18:56:26 +02:00
notmuch lint: check for bad white space habits 2022-10-19 10:19:19 +02:00
types types: remove unused FullMessage.Info field 2022-10-25 21:28:56 +02:00
handler_notmuch.go format: reformat code with go 1.17 2021-12-11 23:24:08 +01:00
worker.go aerc: use single event loop 2022-10-07 10:51:53 +02:00
worker_enabled.go mbox: implement an mbox backend worker 2022-07-14 23:14:45 +02:00