mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 13:16:53 +00:00
chore: tidy up before merge
This commit is contained in:
@ -91,7 +91,6 @@ func Parse(r io.Reader, key, keyName string) (m *pmapi.Message, mimeBody, plainB
|
||||
func convertForeignEncodings(p *parser.Parser) error {
|
||||
logrus.Debug("Converting foreign encodings")
|
||||
|
||||
// HELP: Is it correct to only do this to text types?
|
||||
return p.NewWalker().
|
||||
RegisterContentTypeHandler("text/html", func(p *parser.Part) error {
|
||||
if err := p.ConvertToUTF8(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user