mirror of
https://github.com/1f349/lotus.git
synced 2024-12-22 08:04:06 +00:00
Fetch internal date
This commit is contained in:
parent
0906c46c15
commit
8b1e000ca3
@ -98,7 +98,7 @@ func (c *Client) fetch(folder string, start, end, limit uint32) ([]*imap.Message
|
||||
messages := make(chan *imap.Message, limit)
|
||||
done := make(chan error, 1)
|
||||
go func() {
|
||||
done <- c.ic.Fetch(seqSet, []imap.FetchItem{imap.FetchEnvelope, imap.FetchUid, imap.FetchFlags}, messages)
|
||||
done <- c.ic.Fetch(seqSet, []imap.FetchItem{imap.FetchEnvelope, imap.FetchUid, imap.FetchFlags, imap.FetchInternalDate}, messages)
|
||||
}()
|
||||
|
||||
out := make([]*imap.Message, 0, limit)
|
||||
|
Loading…
Reference in New Issue
Block a user