From 511fea39449b6db551151da86d914bf7ab3b3713 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 20 May 2019 16:42:44 -0400 Subject: Flesh out multipart switcher --- commands/account/reply.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'commands') diff --git a/commands/account/reply.go b/commands/account/reply.go index f55d448..cd07ec9 100644 --- a/commands/account/reply.go +++ b/commands/account/reply.go @@ -123,8 +123,8 @@ func Reply(aerc *widgets.Aerc, args []string) error { } if quote { - // TODO: something more intelligent than fetching the 0th part - store.FetchBodyPart(msg.Uid, 0, func(reader io.Reader) { + // TODO: something more intelligent than fetching the 1st part + store.FetchBodyPart(msg.Uid, []int{1}, func(reader io.Reader) { header := message.Header{} header.SetText( "Content-Transfer-Encoding", msg.BodyStructure.Encoding) -- cgit v1.2.3