aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/maildir/search.go')
-rw-r--r--worker/maildir/search.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/maildir/search.go b/worker/maildir/search.go
index cf954753..8a19d66d 100644
--- a/worker/maildir/search.go
+++ b/worker/maildir/search.go
@@ -11,8 +11,8 @@ import (
)
func (w *Worker) search(ctx context.Context, criteria *types.SearchCriteria) ([]uint32, error) {
+ criteria.PrepareHeader()
requiredParts := lib.GetRequiredParts(criteria)
-
w.worker.Debugf("Required parts bitmask for search: %b", requiredParts)
keys, err := w.c.UIDs(*w.selected)