Refactoring: remove store from PartInfo
This commit is contained in:
parent
4711933b41
commit
df20f1cd03
5 changed files with 6 additions and 5 deletions
commands/msg
|
@ -126,7 +126,8 @@ func (Pipe) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
})
|
||||
} else if pipePart {
|
||||
p := provider.SelectedMessagePart()
|
||||
p.Store.FetchBodyPart(p.Msg.Uid, p.Msg.BodyStructure, p.Index, func(reader io.Reader) {
|
||||
store := provider.Store()
|
||||
store.FetchBodyPart(p.Msg.Uid, p.Msg.BodyStructure, p.Index, func(reader io.Reader) {
|
||||
if background {
|
||||
doExec(reader)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue