aboutsummaryrefslogtreecommitdiff
path: root/commands/account/pipe.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-31 12:14:37 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-31 12:14:37 -0400
commit27b25174e2f0249a6a1d4ba45b70f8504b63ffb1 (patch)
treeb8626c746e07d9a38f95a5a817a7094c9275bfd1 /commands/account/pipe.go
parent143289bbd0736d72553a3c2a080aa3d125366b38 (diff)
Make the message viewer real, part one
Diffstat (limited to 'commands/account/pipe.go')
-rw-r--r--commands/account/pipe.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/commands/account/pipe.go b/commands/account/pipe.go
index b07a860..18130eb 100644
--- a/commands/account/pipe.go
+++ b/commands/account/pipe.go
@@ -20,9 +20,6 @@ func Pipe(aerc *widgets.Aerc, args []string) error {
return errors.New("Usage: :pipe <cmd> [args...]")
}
acct := aerc.SelectedAccount()
- if acct == nil {
- return errors.New("No account selected")
- }
store := acct.Messages().Store()
msg := acct.Messages().Selected()
store.FetchBodies([]uint32{msg.Uid}, func(reader io.Reader) {