summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--worker/notmuch/worker.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go
index 8b2c477..9443f66 100644
--- a/worker/notmuch/worker.go
+++ b/worker/notmuch/worker.go
@@ -442,6 +442,9 @@ func (w *worker) handleModifyLabels(msg *types.ModifyLabels) error {
 	}
 	// and update the list of possible tags
 	w.emitLabelList()
+	if err = w.emitDirectoryInfo(w.currentQueryName); err != nil {
+		w.w.Logger.Printf(err.Error())
+	}
 	w.done(msg)
 	return nil
 }