diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-05-20 16:42:44 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-05-20 16:43:08 -0400 |
commit | 511fea39449b6db551151da86d914bf7ab3b3713 (patch) | |
tree | 12171a8d34d850265f6bd96d8d3ead372b8dbdbc /worker/imap/fetch.go | |
parent | 3376f926ed2ed7184d2710c85c327b9357e2bea4 (diff) | |
download | aerc-511fea39449b6db551151da86d914bf7ab3b3713.tar.gz |
Flesh out multipart switcher
Diffstat (limited to 'worker/imap/fetch.go')
-rw-r--r-- | worker/imap/fetch.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/worker/imap/fetch.go b/worker/imap/fetch.go index e3d8fa3..c5e7cd6 100644 --- a/worker/imap/fetch.go +++ b/worker/imap/fetch.go @@ -26,7 +26,7 @@ func (imapw *IMAPWorker) handleFetchMessageBodyPart( imapw.worker.Logger.Printf("Fetching message part") section := &imap.BodySectionName{} - section.Path = []int{msg.Part + 1} + section.Path = msg.Part items := []imap.FetchItem{section.FetchItem()} uids := imap.SeqSet{} uids.AddNum(msg.Uid) |