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