aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--worker/maildir/worker.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index e85caacc..0ece323b 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -115,19 +115,6 @@ func (w *Worker) handleFSEvent(ev fsnotify.Event) {
return
}
- uids, err := w.c.UIDs(*w.selected)
- if err != nil {
- logging.Errorf("could not scan UIDs: %w", err)
- return
- }
- sortedUids, err := w.sort(uids, w.currentSortCriteria)
- if err != nil {
- logging.Errorf("error sorting directory: %w", err)
- return
- }
- w.worker.PostMessage(&types.DirectoryContents{
- Uids: sortedUids,
- }, nil)
dirInfo := w.getDirectoryInfo(w.selectedName)
w.worker.PostMessage(&types.DirectoryInfo{
Info: dirInfo,