feat(GODT-3113): Do not render HTML for attachment.

This commit is contained in:
Romain Le Jeune
2023-11-10 08:36:46 +00:00
parent 2a78b5c144
commit 0303ba38e8
4 changed files with 9 additions and 18 deletions

View File

@ -33,7 +33,7 @@ func (h *handler) matchPart(p *Part) bool {
}
func (h *handler) matchPartSkipAttachment(p *Part) bool {
return !p.isAttachment() && h.matchPart(p)
return !p.IsAttachment() && h.matchPart(p)
}
func (h *handler) matchType(p *Part) bool {