aboutsummaryrefslogtreecommitdiff
path: root/worker/maildir/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/maildir/worker.go')
-rw-r--r--worker/maildir/worker.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index 1df4e09..3ce396a 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -170,6 +170,8 @@ func (w *Worker) handleMessage(msg types.WorkerMessage) error {
return w.handleOpenDirectory(msg)
case *types.FetchDirectoryContents:
return w.handleFetchDirectoryContents(msg)
+ case *types.FetchNativeThreadSupport:
+ return w.handleFetchNativeThreadSupport(msg)
case *types.CreateDirectory:
return w.handleCreateDirectory(msg)
case *types.FetchMessageHeaders:
@@ -291,6 +293,15 @@ func (w *Worker) handleFetchDirectoryContents(
return nil
}
+func (w *Worker) handleFetchNativeThreadSupport(
+ msg *types.FetchNativeThreadSupport) error {
+ w.worker.PostMessage(&types.NativeThreadSupport{
+ Message: types.RespondTo(msg),
+ HasSupport: false,
+ }, nil)
+ return nil
+}
+
func (w *Worker) sort(uids []uint32, criteria []*types.SortCriterion) ([]uint32, error) {
if len(criteria) == 0 {
return uids, nil