diff options
author | Mark Walters <markwalters1009@gmail.com> | 2013-07-31 19:39:05 +0100 |
---|---|---|
committer | David Bremner <bremner@debian.org> | 2013-07-31 17:46:09 -0300 |
commit | 15f5fc513d45cb6173c1a319e3c58b724c3da4db (patch) | |
tree | 16163ab0198925a50650e195c30284a0a830b146 /debian | |
parent | 29762dd15e84da6c4a30016b255e7dba8002cf8a (diff) |
emacs: bugfix attachment content-type as mime-type handling
Notmuch puts attachments in as declared content-type except when the
content-type is application/octet-stream it tries to guess the type
from the filename/extension. This means that viewing a pdf (for
example) which is sent as application/octet-strem invokes the pdf
viewer rather than just offering to save the part.
Recent changes to the attachment handling (commit 1546387d) changed
(broke) this. This patch stores the calculated mime-type with the part
and changes the attachment part handlers can use it instead.
Diffstat (limited to 'debian')
0 files changed, 0 insertions, 0 deletions