summary refs log tree commit diff stats
path: root/commands/account/pipe.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/pipe.go')
-rw-r--r--commands/account/pipe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/pipe.go b/commands/account/pipe.go
index 18130eb..bff1596 100644
--- a/commands/account/pipe.go
+++ b/commands/account/pipe.go
@@ -22,7 +22,7 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
 	acct := aerc.SelectedAccount()
 	store := acct.Messages().Store()
 	msg := acct.Messages().Selected()
-	store.FetchBodies([]uint32{msg.Uid}, func(reader io.Reader) {
+	store.FetchFull([]uint32{msg.Uid}, func(reader io.Reader) {
 		cmd := exec.Command(args[1], args[2:]...)
 		pipe, err := cmd.StdinPipe()
 		if err != nil {