aboutsummaryrefslogtreecommitdiffstats
path: root/worker/imap/list.go
diff options
context:
space:
mode:
authorTim Culverhouse <tim@timculverhouse.com>2023-04-16 09:53:41 -0500
committerRobin Jarry <robin@jarry.cc>2023-04-22 22:40:12 +0200
commit2ed7a741ff9eca1dd3fe9e94cdcfe4f365b74ff2 (patch)
tree2e2b327605ce534ca18e3ff04d0df2a7628ee5a1 /worker/imap/list.go
parent8ced001d82b59f353c33ad34ca0c79313eef41af (diff)
downloadaerc-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/imap/list.go')
-rw-r--r--worker/imap/list.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/worker/imap/list.go b/worker/imap/list.go
index b1bc65a1..07aa2971 100644
--- a/worker/imap/list.go
+++ b/worker/imap/list.go
@@ -24,8 +24,7 @@ func (imapw *IMAPWorker) handleListDirectories(msg *types.ListDirectories) {
imapw.worker.PostMessage(&types.Directory{
Message: types.RespondTo(msg),
Dir: &models.Directory{
- Name: mbox.Name,
- Attributes: mbox.Attributes,
+ Name: mbox.Name,
},
}, nil)
}