aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/pipe.go
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-05-17 11:44:38 +0200
committerReto Brunner <reto@labrat.space>2020-05-17 11:44:38 +0200
commit13a6a3fa7109ce6dcff79ea9ed2a012226386fad (patch)
treef182c5d8f8dbaf5a6445b5c226a229faa7005efa /commands/msg/pipe.go
parentbae678e8f20605b64596c9e976623f2a37247adb (diff)
downloadaerc-13a6a3fa7109ce6dcff79ea9ed2a012226386fad.tar.gz
FetchBodyPart doesn't need the parent body structure
Diffstat (limited to 'commands/msg/pipe.go')
-rw-r--r--commands/msg/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go
index 44b0067d..c88d61f1 100644
--- a/commands/msg/pipe.go
+++ b/commands/msg/pipe.go
@@ -127,7 +127,7 @@ func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {
} else if pipePart {
p := provider.SelectedMessagePart()
store := provider.Store()
- store.FetchBodyPart(p.Msg.Uid, p.Msg.BodyStructure, p.Index, func(reader io.Reader) {
+ store.FetchBodyPart(p.Msg.Uid, p.Index, func(reader io.Reader) {
if background {
doExec(reader)
} else {