msg/reply: fix encoding issues for quoted reply.
This commit is contained in:
parent
13a6a3fa71
commit
cff4476f3b
2 changed files with 33 additions and 12 deletions
commands/msg
|
@ -107,9 +107,10 @@ func (Recall) Execute(aerc *widgets.Aerc, args []string) error {
|
|||
part *models.BodyStructure
|
||||
)
|
||||
if len(msgInfo.BodyStructure.Parts) != 0 {
|
||||
part, path = findPlaintext(msgInfo.BodyStructure, path)
|
||||
path = findPlaintext(msgInfo.BodyStructure, path)
|
||||
}
|
||||
if part == nil {
|
||||
part, err = msgInfo.BodyStructure.PartAtIndex(path)
|
||||
if part == nil || err != nil {
|
||||
part = msgInfo.BodyStructure
|
||||
path = []int{1}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue