Fetch headers w/peek to leave emails unread

This commit is contained in:
Yash Srivastav 2019-06-08 10:52:41 +05:30 committed by Drew DeVault
parent 6b7da37235
commit 06e1b45a78

View file

@ -19,6 +19,7 @@ func (imapw *IMAPWorker) handleFetchMessageHeaders(
BodyPartName: imap.BodyPartName{ BodyPartName: imap.BodyPartName{
Specifier: imap.HeaderSpecifier, Specifier: imap.HeaderSpecifier,
}, },
Peek: true,
} }
items := []imap.FetchItem{ items := []imap.FetchItem{