about summary refs log tree commit diff stats
path: root/worker/types
diff options
context:
space:
mode:
Diffstat (limited to 'worker/types')
-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 {