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/save.go | |
parent | f9f523ad59491eda08003ce2ccc6d57d7f19ea1e (diff) | |
download | aerc-363aab5cc19135599cae93f6c9c7abcd23c111c9.tar.gz |
Make :pipe command more generic
Diffstat (limited to 'commands/msgview/save.go')
-rw-r--r-- | commands/msgview/save.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/msgview/save.go b/commands/msgview/save.go index 93fa83f..75ba56f 100644 --- a/commands/msgview/save.go +++ b/commands/msgview/save.go @@ -56,7 +56,7 @@ func (_ Save) 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 |