djcb/mu — pull request #483 by zakkak (2014-10-10 15:42:36+00:00)
Title: Patches for #186

Fix gpg decryption (body part)
===
Commit 1 https://github.com/zakkak/mu/commit/29e53d2ebad0722edcc7a6a84cfb971cffd38588
---

After a multipart/encrypted part gets decrypted the result is usually a
`multipart/mixed` part (see enigmail).

Before this commit mime multiparts where handled only by
`g_mime_message_foreach`. As a result the decrypted mime multiparts
where not processed.

This patch handles mime multiparts explicitly by removing the
`g_mime_message_foreach` invocations. This might come at the cost of
reduced maintainability, in the case of radical gmime changes. However,
gmime is pretty stable and that scenario is highly unlikely.

Commit 2 https://github.com/zakkak/mu/commit/91250b0d71dc0f54fa2c9a3f1b2671151d27be6c
---

This patch fixes the attachment listing when using `mu`. For some
reason the '--decrypt' option among others where totally ignored when
listing the attachments.

Commit 3 https://github.com/zakkak/mu/commit/51037be7fb19515fb5fd18655be4fb995f551096
---

This patch fixes the attachment extraction (open, save, temp) when using
`mu4e`. `mu4e` used to not notify the mu-server about the
mu4e-decryption-policy. As a result mu-server did not decrypt the
attachments for extract, open, or temp.