aboutsummaryrefslogtreecommitdiffstats
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-04-28 09:43:36 -0500
committerRobin Jarry <robin@jarry.cc>2023-04-28 20:58:24 +0200
commitef4504e6baf513713779b1e1af40848e746e704b (patch)
treecd8006d32dcc199e2fd825e51fedd1aed951064e /CHANGELOG.md
parente02479ad9ab802d5ab8da1ea614a579fc126ece6 (diff)
downloadaerc-ef4504e6baf513713779b1e1af40848e746e704b.tar.gz
maildir: fix handling of FSEvents
Maildir uses a filesystem watcher to watch the currently selected directory for changes, updating the UI as necessary. Not all changes get updated based on the current logic. Send a MessageInfo if the event was a Rename. Send a MessagesDeleted if the event was a Remove. Tell the UI to refetch the list if the event was a Create. Note: This leads to some unnecessary fetching in the UI, as renames also come with a Create event in most cases. Koni suggested sending the MessageInfo and having the UI perform a binary search and inserting the message in the proper position. This is optimization is left out of this series, with a TODO left in the code. Fixes: https://todo.sr.ht/~rjarry/aerc/171 Fixes: 91ac21ac6155 ("msgstore: fetch message list based on OpenDirectory msg") Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'CHANGELOG.md')
0 files changed, 0 insertions, 0 deletions