From: Daniel Kahn Gillmor Date: Tue, 28 May 2019 18:46:48 +0000 (-0400) Subject: cli/{show,reply}: use repaired form of "Mixed Up" mangled messages X-Git-Tag: archive/debian/0.30_rc0-1~139 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=23bcd003637f091c88f7d0a601d5fee82bc8e936;hp=23bcd003637f091c88f7d0a601d5fee82bc8e936 cli/{show,reply}: use repaired form of "Mixed Up" mangled messages When showing or replying to a message that has been mangled in transit by an MTA in the "Mixed up" way, notmuch should instead use the repaired form of the message. Tracking the repaired GMimeObject for the lifetime of the mime_node so that it is cleaned up properly is probably the trickiest part of this patch, but the choices here are based on the idea that the mime_node_context is the memory manager for the whole mime_node tree in the first place, so new GMimeObject tree created on-the-fly during message parsing should be disposed of in the same place. Signed-off-by: Daniel Kahn Gillmor ---