aboutsummaryrefslogtreecommitdiff
path: root/worker/imap
diff options
context:
space:
mode:
Diffstat (limited to 'worker/imap')
-rw-r--r--worker/imap/worker.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index 4381e22..f6685c1 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -163,8 +163,9 @@ func (w *IMAPWorker) handleImapUpdate(update client.Update) {
case *client.MailboxUpdate:
status := update.Mailbox
w.worker.PostMessage(&types.DirectoryInfo{
- ReadOnly: status.ReadOnly,
Flags: status.Flags,
+ Name: status.Name,
+ ReadOnly: status.ReadOnly,
Exists: int(status.Messages),
Recent: int(status.Recent),