aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorDejan Strbac <me@dejanstrbac.com>2020-01-13 19:59:36 +0100
committerSimon Ser <contact@emersion.fr>2020-01-16 13:34:10 +0100
commit15a77185b48515c5d66165f04c94ad6037f8c644 (patch)
treec13c8360962c2834a48936aa7ee427ab1cd40e63 /plugins/base
parent425445f4430ebaacf6da23534eab969ed85b50d6 (diff)
downloadalps-15a77185b48515c5d66165f04c94ad6037f8c644.tar.gz
alps-15a77185b48515c5d66165f04c94ad6037f8c644.zip
Include flags when fetching items over IMAP
Diffstat (limited to 'plugins/base')
-rwxr-xr-x[-rw-r--r--]plugins/base/imap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/imap.go b/plugins/base/imap.go
index 8c2040f..09ae305 100644..100755
--- a/plugins/base/imap.go
+++ b/plugins/base/imap.go
@@ -201,7 +201,7 @@ func listMessages(conn *imapclient.Client, mboxName string, page int) ([]IMAPMes
var seqSet imap.SeqSet
seqSet.AddRange(uint32(from), uint32(to))
- fetch := []imap.FetchItem{imap.FetchEnvelope, imap.FetchUid, imap.FetchBodyStructure}
+ fetch := []imap.FetchItem{imap.FetchFlags, imap.FetchEnvelope, imap.FetchUid, imap.FetchBodyStructure}
ch := make(chan *imap.Message, 10)
done := make(chan error, 1)