When I send a PDF file as an attachment in Trojitá,
the Content-Type header is set as "application/x-wine-extension-pdf".
(The correct MIME type is "application/pdf".)
I assume Trojitá is getting this from some external database of MIME
types, but I don't know where to look.
Where does it get its
Hey,
Trojitá uses QMimeDatabase to retrieve the MIME type of an attachment
(see
https://github.com/jktjkt/trojita/blob/master/src/Composer/ComposerAttachments.cpp#L189).
QMimeDatabase uses the freedesktop.org shared-mime-info database on linux
systems or a database distributed with Qt on other
Thanks. That put me on the right track, and I found it in
~/.local/shsare/mime
Andy
On Monday, May 30, 2022 8:12:48 AM PDT, paalsteek wrote:
Hey,
Trojitá uses QMimeDatabase to retrieve the MIME type of an attachment
(see
https://github.com/jktjkt/trojita/blob/master/src/Composer/ComposerAttac