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/recall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/msg/recall.go') diff --git a/commands/msg/recall.go b/commands/msg/recall.go index c2f887a..ef7e859 100644 --- a/commands/msg/recall.go +++ b/commands/msg/recall.go @@ -114,7 +114,7 @@ func (Recall) Execute(aerc *widgets.Aerc, args []string) error { path = []int{1} } - store.FetchBodyPart(msgInfo.Uid, part, path, func(reader io.Reader) { + store.FetchBodyPart(msgInfo.Uid, path, func(reader io.Reader) { header := message.Header{} header.SetText( "Content-Transfer-Encoding", part.Encoding) -- cgit 1.4.1-2-gfad0