Browse Source

Include flags when fetching items over IMAP

master
Dejan Strbac 4 years ago
committed by Simon Ser
parent
commit
15a77185b4
No known key found for this signature in database GPG Key ID: FDE7BE0E88F5E48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      plugins/base/imap.go

+ 1
- 1
plugins/base/imap.go View File

@@ -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)


Loading…
Cancel
Save