1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-11-16 22:51:11 +01:00
aerc/worker/maildir
Damien Tardy-Panis 1d33460514 maildir: add missing detection of all new messages on startup
If check-mail is not set up to run on startup (for example when the sync
is done externally), the new messages were not displayed in the dirlist
until one would switch to each of the directories.

We're now running the SyncNewMail in handleListDirectories on all
directories, the same way it's done at the end of handleCheckMail. This
registers all the new messages before the dirlist gets rendered.

Fixes: https://todo.sr.ht/~rjarry/aerc/185
Link: https://lists.sr.ht/~rjarry/aerc-discuss/%3CCSLCE7V6PBJA.THVFF075ARCT%40walnut%3E
Signed-off-by: Damien Tardy-Panis <damien.dev@tardypad.me>
Acked-by: Robin Jarry <robin@jarry.cc>
2025-10-30 21:10:49 +01:00
..
container.go maildir: fix filename encoded UID removal when moving messages 2025-06-05 12:44:08 +02:00
message.go mod: update go-maildir 2025-05-25 19:05:07 +02:00
search.go treewide: replace uint32 uids with opaque strings 2024-08-28 12:06:01 +02:00
worker.go maildir: add missing detection of all new messages on startup 2025-10-30 21:10:49 +01:00