From 13a6a3fa7109ce6dcff79ea9ed2a012226386fad Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Sun, 17 May 2020 11:44:38 +0200 Subject: FetchBodyPart doesn't need the parent body structure --- commands/msg/reply.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msg/reply.go') diff --git a/commands/msg/reply.go b/commands/msg/reply.go index 74f0097..72c992e 100644 --- a/commands/msg/reply.go +++ b/commands/msg/reply.go @@ -165,7 +165,7 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error { template = aerc.Config().Templates.QuotedReply } - store.FetchBodyPart(msg.Uid, msg.BodyStructure, []int{1}, func(reader io.Reader) { + store.FetchBodyPart(msg.Uid, []int{1}, func(reader io.Reader) { buf := new(bytes.Buffer) buf.ReadFrom(reader) original.Text = buf.String() -- cgit 1.4.1-2-gfad0