aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-10-22 13:07:51 -0400
committerDrew DeVault <sir@cmpwn.com>2020-10-22 13:07:51 -0400
commit0191aa4698974cba0699fbe6543e492d2fb9d4a9 (patch)
tree152c90a503b0632d34fd14e5b2b16a79c18a3779 /plugins/base
parent6ba418c9b2fd02b2f784c20f83bd040585689c5f (diff)
downloadalps-0191aa4698974cba0699fbe6543e492d2fb9d4a9.tar.gz
alps-0191aa4698974cba0699fbe6543e492d2fb9d4a9.zip
plugins/base/imap: fetch flags on search
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/imap.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/imap.go b/plugins/base/imap.go
index a7f4ea1..6c3f33f 100644
--- a/plugins/base/imap.go
+++ b/plugins/base/imap.go
@@ -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)