diff options
Diffstat (limited to 'worker/notmuch/worker.go')
-rw-r--r-- | worker/notmuch/worker.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index b25a8786..6b1b64d9 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -259,6 +259,7 @@ func (w *worker) handleListDirectories(msg *types.ListDirectories) error { Message: types.RespondTo(msg), Dir: &models.Directory{ Name: name, + Role: models.QueryRole, }, }, nil) } @@ -317,6 +318,7 @@ func (w *worker) handleOpenDirectory(msg *types.OpenDirectory) error { Message: types.RespondTo(msg), Dir: &models.Directory{ Name: q, + Role: models.QueryRole, }, }, nil) } |