aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-05-08 22:03:24 -0500
committerRobin Jarry <robin@jarry.cc>2023-05-11 11:07:43 +0200
commit55bfc12be28d45fc8eb1ce475e577d6341887e00 (patch)
tree98409d08eb266880ee54869059a2775d6f92c7d1 /contrib
parent115f7f20946e9ac3014e5814f336cb2173f06ec0 (diff)
downloadaerc-55bfc12be28d45fc8eb1ce475e577d6341887e00.tar.gz
maildir: fix FSWatcher handling of events
Commit ef4504e6baf5 ("maildir: fix handling of FSEvents") ambitiously tried to fix handling of file system events by handling different events in "proper" ways. Distributions and OSes report these FSEvents differently which creates a large amount of edge cases on what the right handling of each individual event should be. Revert part of ef4504e6baf5 which attempts to issue different messages based on the event. Add a debounce to file system events and always trigger a Refetch of the message list. This still fixes one of the "fixes" the referenced patch attempted at, where the UI was only told to refetch if the message count increased (but if messages disappeared externally, the maildir never updated). Fixes: ef4504e6baf5 ("maildir: fix handling of FSEvents") Reported-by: Kirill Chibisov <contact@kchibisov.com> Signed-off-by: Tim Culverhouse <tim@timculverhouse.com> Tested-by: Kirill Chibisov <contact@kchibisov.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions