diff options
| author | 2025-04-18 23:32:05 +0000 | |
|---|---|---|
| committer | 2025-05-23 21:13:22 +0000 | |
| commit | c110edce88cb3303b4d412b4e8802602fdf64a71 (patch) | |
| tree | 167eb0d33c80c6277de21109f2f7df7e901ef7be /git@git.enes.lv:penes-snac2 | |
| parent | Modified generated HTML to match my stylesheet ehheh (diff) | |
| download | penes-snac2-c110edce88cb3303b4d412b4e8802602fdf64a71.tar.gz penes-snac2-c110edce88cb3303b4d412b4e8802602fdf64a71.tar.xz penes-snac2-c110edce88cb3303b4d412b4e8802602fdf64a71.zip | |
Fix custom emojis not appearing
This fixes emojis not appearing if source instance hasn't set the mediaType field.
We use xs_mime_by_ext in order to guess whether the file is SVG or not when mediaType is missing.
This commit also changes the behaviour to not replace :shortnames: with nothing when the emoji replacement failed.
Diffstat (limited to 'git@git.enes.lv:penes-snac2')
0 files changed, 0 insertions, 0 deletions