On Sat, Mar 26, 2022 at 8:11 PM Andres Freund <andres@anarazel.de> wrote:
Hi,
On 2022-03-26 18:41:39 +0100, Magnus Hagander wrote: > That said, it's not as simple as a upper/lowercase. get_content_type() > returns 'text/plain' in lowercase for both parts so it takes care of > that. > > The problem is that: > 1. It's not an attachment. That is: > Content-Disposition: inline; filename="0001-doc_wip-diff.txt" > explicitly says it's not an attachment.
It's not actually that unreasonable for a doc patch ;)
Agreed. But it does explain why it's not shown *as an attachment*.
> 2. We only show the first plaintext part of messages > > This is the actual problem. Our archives don't know how to merge > multiple plaintext parts when they are set to be viewed inline and not > as attachments. > > That said, I notice that it's shown as an attachment in gmail as well, > even though it's not an attachment. I have no idea why :)