summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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
 	}