about summary refs log tree commit diff stats
path: root/worker/imap
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-06-24 16:31:37 -0400
committerDrew DeVault <sir@cmpwn.com>2019-06-24 16:31:37 -0400
commit198661bfbdf97690ea766da7396c496555b3a4e0 (patch)
treefa97ca3770232f1227f1977dbc5d28f0ce71dd99 /worker/imap
parent0e9c411751c752eeef4e2132f778308689001388 (diff)
downloadaerc-198661bfbdf97690ea766da7396c496555b3a4e0.tar.gz
worker/imap: rig up search directory handler
Diffstat (limited to 'worker/imap')
-rw-r--r--worker/imap/worker.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index aa59c27..5005620 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -145,6 +145,8 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error {
 		w.handleCopyMessages(msg)
 	case *types.AppendMessage:
 		w.handleAppendMessage(msg)
+	case *types.SearchDirectory:
+		w.handleSearchDirectory(msg)
 	default:
 		return errUnsupported
 	}