Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

message: DecodeTextAttachments option (FR #182) #183

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Vovan-VE
Copy link

Implements #182.

A package level option variable added as the simpliest way for static app-level setup:

import (
    "github.com/emersion/go-message"
)

func init() {
    message.DecodeTextAttachments = false
}

A test case exists in feat/182-text-attachments-charset-decode-test (commit Vovan-VE@dc96a3f) but not included here because it's potentially parallel unsafe because of simple package level variable.

Mark7894

This comment was marked as spam.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants