Fetch internal date

This commit is contained in:
Melon 2023-09-11 22:54:55 +01:00
parent 0906c46c15
commit 8b1e000ca3
Signed by: melon
GPG Key ID: 6C9D970C50D26A25

View File

@ -98,7 +98,7 @@ func (c *Client) fetch(folder string, start, end, limit uint32) ([]*imap.Message
messages := make(chan *imap.Message, limit) messages := make(chan *imap.Message, limit)
done := make(chan error, 1) done := make(chan error, 1)
go func() { 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) out := make([]*imap.Message, 0, limit)