aerc/worker/maildir
Robin Jarry f4d3c8fc77 maildir: watch for external changes
When a maildir is synchronized by an external process while aerc is
running (e.g. mbsync), some emails may be moved out of "new" to "cur" or
completely deleted.

These deletions are ignored and aerc may assume these messages are still
here, leading to errors.

Take file deletions into account. Also, add "cur" to the watched
folders since these can be modified as well.

Signed-off-by: Robin Jarry <robin@jarry.cc>
2021-12-06 20:54:29 +01:00
..
container.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
message.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
search.go go.mod: change base git url 2021-11-05 10:21:45 +01:00
worker.go maildir: watch for external changes 2021-12-06 20:54:29 +01:00