aerc/worker/maildir
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
..
container.go maildir: fix maildir folder listing 2022-10-25 23:30:56 +02:00
message.go charset: handle unknown charsets more user-friendly 2022-09-25 11:54:23 +02:00
search.go go: removed io/ioutil 2022-08-22 09:30:19 +02:00
worker.go maildir: make checkmail update directory counts 2022-10-18 22:25:46 +02:00