aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir
diff options
context:
space:
mode:
Diffstat (limited to 'worker/maildir')
-rw-r--r--worker/maildir/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index df37291b..4a2a19b8 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -112,7 +112,7 @@ func (w *Worker) handleFSEvent(ev fsnotify.Event) {
}
func (w *Worker) done(msg types.WorkerMessage) {
- w.worker.PostMessage(&types.Done{types.RespondTo(msg)}, nil)
+ w.worker.PostMessage(&types.Done{Message: types.RespondTo(msg)}, nil)
}
func (w *Worker) err(msg types.WorkerMessage, err error) {