Include flags when fetching items over IMAP
This commit is contained in:
parent
425445f443
commit
15a77185b4
1 changed files with 1 additions and 1 deletions
2
plugins/base/imap.go
Normal file → Executable file
2
plugins/base/imap.go
Normal file → Executable file
|
@ -201,7 +201,7 @@ func listMessages(conn *imapclient.Client, mboxName string, page int) ([]IMAPMes
|
||||||
var seqSet imap.SeqSet
|
var seqSet imap.SeqSet
|
||||||
seqSet.AddRange(uint32(from), uint32(to))
|
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)
|
ch := make(chan *imap.Message, 10)
|
||||||
done := make(chan error, 1)
|
done := make(chan error, 1)
|
||||||
|
|
Loading…
Add table
Reference in a new issue