aboutsummaryrefslogtreecommitdiff
path: root/worker/imap/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker/imap/worker.go')
-rw-r--r--worker/imap/worker.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/worker/imap/worker.go b/worker/imap/worker.go
index ff02a78..78e5537 100644
--- a/worker/imap/worker.go
+++ b/worker/imap/worker.go
@@ -170,13 +170,7 @@ func (w *IMAPWorker) handleImapUpdate(update client.Update) {
w.selected = *status
}
w.worker.PostMessage(&types.DirectoryInfo{
- Flags: status.Flags,
- Name: status.Name,
- ReadOnly: status.ReadOnly,
-
- Exists: int(status.Messages),
- Recent: int(status.Recent),
- Unseen: int(status.Unseen),
+ Name: status.Name,
}, nil)
case *client.MessageUpdate:
msg := update.Message