diff options
-rw-r--r-- | worker/notmuch/worker.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index b592e947..d4f0c912 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -702,6 +702,9 @@ func (w *worker) handleCheckMail(msg *types.CheckMail) { if err != nil { w.err(msg, fmt.Errorf("checkmail: error running command: %w", err)) } else { + w.w.PostMessage(&types.DirectoryInfo{ + Info: w.getDirectoryInfo(w.currentQueryName, w.query), + }, nil) w.done(msg) } } |