diff options
author | Yash Srivastav <yash111998@gmail.com> | 2019-06-08 10:52:41 +0530 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-06-08 10:58:51 -0400 |
commit | 06e1b45a7851b58ea0d238f1fbfa2e8cee7bba8f (patch) | |
tree | 64300714ccccfa26f24d4e1cf20d58b264dcb8a6 /worker/imap | |
parent | 6b7da37235092f2500de8354030b58d0cc7a25ef (diff) |
Fetch headers w/peek to leave emails unread
Diffstat (limited to 'worker/imap')
-rw-r--r-- | worker/imap/fetch.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/worker/imap/fetch.go b/worker/imap/fetch.go index 49c9ac5..2d5bb7f 100644 --- a/worker/imap/fetch.go +++ b/worker/imap/fetch.go @@ -19,6 +19,7 @@ func (imapw *IMAPWorker) handleFetchMessageHeaders( BodyPartName: imap.BodyPartName{ Specifier: imap.HeaderSpecifier, }, + Peek: true, } items := []imap.FetchItem{ |