From 15a77185b48515c5d66165f04c94ad6037f8c644 Mon Sep 17 00:00:00 2001 From: Dejan Strbac Date: Mon, 13 Jan 2020 19:59:36 +0100 Subject: Include flags when fetching items over IMAP --- plugins/base/imap.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 plugins/base/imap.go (limited to 'plugins/base') diff --git a/plugins/base/imap.go b/plugins/base/imap.go old mode 100644 new mode 100755 index 8c2040f..09ae305 --- 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) -- cgit v1.2.3