diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-07-05 12:21:12 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-07-05 12:21:12 -0400 |
commit | 363aab5cc19135599cae93f6c9c7abcd23c111c9 (patch) | |
tree | 80cfeaf367bd1ac3077ec9dfb549a9dfc3b1f62f /commands/msgview/open.go | |
parent | f9f523ad59491eda08003ce2ccc6d57d7f19ea1e (diff) | |
download | aerc-363aab5cc19135599cae93f6c9c7abcd23c111c9.tar.gz |
Make :pipe command more generic
Diffstat (limited to 'commands/msgview/open.go')
-rw-r--r-- | commands/msgview/open.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msgview/open.go b/commands/msgview/open.go index d25fa67..f4a0931 100644 --- a/commands/msgview/open.go +++ b/commands/msgview/open.go @@ -34,7 +34,7 @@ func (_ Open) Execute(aerc *widgets.Aerc, args []string) error { } mv := aerc.SelectedTab().(*widgets.MessageViewer) - p := mv.CurrentPart() + p := mv.SelectedMessagePart() p.Store.FetchBodyPart(p.Msg.Uid, p.Index, func(reader io.Reader) { // email parts are encoded as 7bit (plaintext), quoted-printable, or base64 |