FetchBodyPart doesn't need the parent body structure
This commit is contained in:
parent
bae678e8f2
commit
13a6a3fa71
9 changed files with 24 additions and 29 deletions
commands/msg
|
@ -127,7 +127,7 @@ func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
} else if pipePart {
|
||||
p := provider.SelectedMessagePart()
|
||||
store := provider.Store()
|
||||
store.FetchBodyPart(p.Msg.Uid, p.Msg.BodyStructure, p.Index, func(reader io.Reader) {
|
||||
store.FetchBodyPart(p.Msg.Uid, p.Index, func(reader io.Reader) {
|
||||
if background {
|
||||
doExec(reader)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue