about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-03-01 11:58:39 +0100
committerReto Brunner <reto@labrat.space>2020-03-01 11:58:39 +0100
commit979da6d6f7cf9e20c06607c9b7fd5e1ee085ef57 (patch)
tree746c93c63cc6b55ee6173eed9a02ec0745289ee4
parentf3dbecaaea16fe8956af2bbd29472243f0496995 (diff)
downloadaerc-979da6d6f7cf9e20c06607c9b7fd5e1ee085ef57.tar.gz
notmuch: emit dirinfo upon label change
-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
 }