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

0.8 get body #1421

Merged
merged 7 commits into from
Aug 15, 2019
Merged

0.8 get body #1421

merged 7 commits into from
Aug 15, 2019

Conversation

pazz
Copy link
Owner

@pazz pazz commented Aug 4, 2019

This is a continuation of #1348

I don't think anyone needs anything else but copiousoutput here
This uses email.message.EmailMessage.get_body() to find the best
candidate for a "body" message part and replaces our own ad-hoc solution
in alot.db.utils.extract_bodytext, which was based on a walk through all
parts.
... in favour of get_body_text to de-clutter the Message class.
The functionality is implemented in alot.db.utils.extract_body, which
now contains the hard-coding of the html warning.
@pazz pazz merged commit 7eaaaf6 into master Aug 15, 2019
@pazz pazz deleted the 0.8-get_body branch August 15, 2019 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants