aboutsummaryrefslogtreecommitdiff
path: root/worker/types/messages.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2019-08-28 06:39:07 +0200
committerDrew DeVault <sir@cmpwn.com>2019-08-29 08:44:10 +0900
commit94b9d557dee0fd13853b1883cc2730c5cbdbcd3f (patch)
tree8a0040b60df9ab4fa3d7f9d137d126a04fd5943b /worker/types/messages.go
parentac99d9ed62644cf0259bdd79481b28c3fbcef650 (diff)
extract search criteria parsing into the backends
Diffstat (limited to 'worker/types/messages.go')
-rw-r--r--worker/types/messages.go4
1 files changed, 1 insertions, 3 deletions
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 {