diff options
Diffstat (limited to 'worker/notmuch')
-rw-r--r-- | worker/notmuch/worker.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index 81f38d1c..687d3f67 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -318,6 +318,13 @@ func (w *worker) handleOpenDirectory(msg *types.OpenDirectory) error { if !ok { q = msg.Directory isDynamicFolder = true + w.w.PostMessage(&types.Directory{ + Message: types.RespondTo(msg), + Dir: &models.Directory{ + Name: q, + Attributes: []string{}, + }, + }, nil) } } w.query = q |