diff options
author | Tim Culverhouse <tim@timculverhouse.com> | 2023-04-16 09:53:41 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-04-22 22:40:12 +0200 |
commit | 2ed7a741ff9eca1dd3fe9e94cdcfe4f365b74ff2 (patch) | |
tree | 2e2b327605ce534ca18e3ff04d0df2a7628ee5a1 /worker/notmuch | |
parent | 8ced001d82b59f353c33ad34ca0c79313eef41af (diff) | |
download | aerc-2ed7a741ff9eca1dd3fe9e94cdcfe4f365b74ff2.tar.gz |
directory: remove attributes field
Remove the unused field Attributes
Signed-off-by: Tim Culverhouse <tim@timculverhouse.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'worker/notmuch')
-rw-r--r-- | worker/notmuch/worker.go | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/worker/notmuch/worker.go b/worker/notmuch/worker.go index 687d3f67..199eb64f 100644 --- a/worker/notmuch/worker.go +++ b/worker/notmuch/worker.go @@ -248,8 +248,7 @@ func (w *worker) handleListDirectories(msg *types.ListDirectories) error { w.w.PostMessage(&types.Directory{ Message: types.RespondTo(msg), Dir: &models.Directory{ - Name: name, - Attributes: []string{}, + Name: name, }, }, nil) } @@ -259,8 +258,7 @@ func (w *worker) handleListDirectories(msg *types.ListDirectories) error { w.w.PostMessage(&types.Directory{ Message: types.RespondTo(msg), Dir: &models.Directory{ - Name: name, - Attributes: []string{}, + Name: name, }, }, nil) } @@ -321,8 +319,7 @@ func (w *worker) handleOpenDirectory(msg *types.OpenDirectory) error { w.w.PostMessage(&types.Directory{ Message: types.RespondTo(msg), Dir: &models.Directory{ - Name: q, - Attributes: []string{}, + Name: q, }, }, nil) } |