mirror of
https://github.com/thelounge/thelounge.git
synced 2026-07-30 14:45:49 -04:00
The upload maps some mime types onto more well-known ones. However it does so after the check whether it should set the inline disposition. We need to do the translation first so that it gets matched against the mime type we actually send. Change the disposition map accordingly, to account for the mapping