Handle patches sent as attachments

If we find a text/plain part, but also anything matching text/plain or
*/x-patch that contains a diff, then we'll use the patch containing a
diff instead.

Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
1 file changed