Fix infinite recursion in reply.go:findPlaintext
This commit is contained in:
parent
7f434850b5
commit
1894a7e91b
|
@ -243,7 +243,7 @@ func findPlaintext(bs *imap.BodyStructure,
|
|||
return part, cur
|
||||
}
|
||||
if part.MIMEType == "multipart" {
|
||||
if part, path := findPlaintext(bs, cur); path != nil {
|
||||
if part, path := findPlaintext(part, cur); path != nil {
|
||||
return part, path
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue