plugins/base/imap: fetch flags on search

This commit is contained in:
Drew DeVault 2020-10-22 13:07:51 -04:00
parent 6ba418c9b2
commit 0191aa4698

View file

@ -454,7 +454,7 @@ func searchMessages(conn *imapclient.Client, mboxName, query string, page, messa
var seqSet imap.SeqSet
seqSet.AddNum(nums...)
fetch := []imap.FetchItem{imap.FetchEnvelope, imap.FetchUid, imap.FetchBodyStructure}
fetch := []imap.FetchItem{imap.FetchEnvelope, imap.FetchFlags, imap.FetchUid, imap.FetchBodyStructure}
ch := make(chan *imap.Message, 10)
done := make(chan error, 1)