aboutsummaryrefslogtreecommitdiffstats
path: root/worker/maildir/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/maildir/worker.go')
-rw-r--r--worker/maildir/worker.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/worker/maildir/worker.go b/worker/maildir/worker.go
index 11bab4ea..a94792bc 100644
--- a/worker/maildir/worker.go
+++ b/worker/maildir/worker.go
@@ -313,6 +313,10 @@ func (w *Worker) handleConfigure(msg *types.Configure) error {
return err
}
w.c = c
+ err = w.watcher.Configure(dir)
+ if err != nil {
+ return err
+ }
log.Debugf("configured base maildir: %s", dir)
return nil
}