aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--worker/maildir/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index c733ddc6..7ff5093d 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -554,7 +554,7 @@ func (w *Worker) handleFetchDirectoryThreaded(
}
} else {
uids, err = w.c.UIDs(*w.selected)
- if err != nil {
+ if err != nil && len(uids) == 0 {
w.worker.Errorf("failed scanning uids: %v", err)
return err
}