about summary refs log tree commit diff stats
path: root/commands/account/reply.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-20 16:42:44 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-20 16:43:08 -0400
commit511fea39449b6db551151da86d914bf7ab3b3713 (patch)
tree12171a8d34d850265f6bd96d8d3ead372b8dbdbc /commands/account/reply.go
parent3376f926ed2ed7184d2710c85c327b9357e2bea4 (diff)
downloadaerc-511fea39449b6db551151da86d914bf7ab3b3713.tar.gz
Flesh out multipart switcher
Diffstat (limited to 'commands/account/reply.go')
-rw-r--r--commands/account/reply.go4
1 files changed, 2 insertions, 2 deletions
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)