From 94b9d557dee0fd13853b1883cc2730c5cbdbcd3f Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Wed, 28 Aug 2019 06:39:07 +0200 Subject: extract search criteria parsing into the backends --- worker/types/messages.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'worker/types') diff --git a/worker/types/messages.go b/worker/types/messages.go index 34a1e5c..7ab94e0 100644 --- a/worker/types/messages.go +++ b/worker/types/messages.go @@ -4,8 +4,6 @@ import ( "io" "time" - "github.com/emersion/go-imap" - "git.sr.ht/~sircmpwn/aerc/config" "git.sr.ht/~sircmpwn/aerc/models" ) @@ -84,7 +82,7 @@ type FetchDirectoryContents struct { type SearchDirectory struct { Message - Criteria *imap.SearchCriteria + Argv []string } type CreateDirectory struct { -- cgit v1.2.3