Hello!
How can I allow jpeg files to be sent through trusted direct messaging? I can receive jpeg files (they are in the white list), but I cannot attach them to outgoing messages. It only allows pdf and xml files.
I looked through trusted-messages-ajax.php and added ‘image/jpeg’ => 'jpg to
$mimeTypeMappings = [
‘application/pdf’ => ‘pdf’
,‘text/xml’ => ‘xml’
,‘application/xml’ => ‘xml’
];
However, it did not work. It said there was an error and to check the system log (which I could not locate for some reason. Any suggestions?
Thanks,
Alex.