Merge lp:~purejava/pantheon-mail/improve-mime-handling into lp:~elementary-apps/pantheon-mail/trunk
Status: | Merged | ||||||||
---|---|---|---|---|---|---|---|---|---|
Approved by: | Danielle Foré | ||||||||
Approved revision: | 1971 | ||||||||
Merged at revision: | 1979 | ||||||||
Proposed branch: | lp:~purejava/pantheon-mail/improve-mime-handling | ||||||||
Merge into: | lp:~elementary-apps/pantheon-mail/trunk | ||||||||
Diff against target: |
111 lines (+17/-14) 2 files modified
src/client/conversation-viewer/conversation-viewer.vala (+11/-4) src/engine/rfc822/rfc822-message.vala (+6/-10) |
||||||||
To merge this branch: | bzr merge lp:~purejava/pantheon-mail/improve-mime-handling | ||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Apps team | Pending | ||
Review via email: mp+286203@code.launchpad.net |
Commit message
Improve mimetype handling in the conversation viewer
Description of the change
Patch to address LP#1545605 and LP#1543629
Mail processes all nested content types of an email recursively.
First, Mail assumes Geary.RFC822.
If none are found, Mail assumes Geary.RFC822.
LP#1543629
Mail already has a functionality for saving inline images, which has been modified with commit 89ca016 [1] to only allow this for Mime.MultipartS
This patch reverts this restriction. As images that are allowed to be saved have a tag "replaced-id", this tag gets added in ConversationVie
[1] https:/
LP#1545605
The problem here is, that assuming Geary.RFC822.
The reason for this is line 539 in rfc822-
Setting this to always false means that inlined images are never treated as valid content here, but line 487 (found_text_subtype |= construct_
As line 539 is always false now, it does not reflect returns of null in inline_