Done in https://invent.kde.org/pim/kleopatra/-/merge_requests/58
This is now merged in MTP https://invent.kde.org/pim/mimetreeparser/-/commit/9307010c8981e490a3312949ae99192b378e9090