about summary refs log tree commit diff stats
path: root/commands/account/pipe.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-31 12:17:57 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-31 12:19:30 -0400
commit95875b13f829919b3453763628d1dda97371fab0 (patch)
treed8d9c12680259b4d321165a32c9d7e0dc4b430fc /commands/account/pipe.go
parent27b25174e2f0249a6a1d4ba45b70f8504b63ffb1 (diff)
downloadaerc-95875b13f829919b3453763628d1dda97371fab0.tar.gz
Rename FetchMessageBodies to FetchFullMessages
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 {