worker/imap: rig up search directory handler

This commit is contained in:
Drew DeVault 2019-06-24 16:31:37 -04:00
parent 0e9c411751
commit 198661bfbd

View file

@ -145,6 +145,8 @@ func (w *IMAPWorker) handleMessage(msg types.WorkerMessage) error {
w.handleCopyMessages(msg) w.handleCopyMessages(msg)
case *types.AppendMessage: case *types.AppendMessage:
w.handleAppendMessage(msg) w.handleAppendMessage(msg)
case *types.SearchDirectory:
w.handleSearchDirectory(msg)
default: default:
return errUnsupported return errUnsupported
} }