summaryrefslogtreecommitdiff
path: root/xs_set.h
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-04-18 23:32:05 +0000
committerGravatar Uko Kokņevičs2025-05-23 21:13:22 +0000
commitc110edce88cb3303b4d412b4e8802602fdf64a71 (patch)
tree167eb0d33c80c6277de21109f2f7df7e901ef7be /xs_set.h
parentModified generated HTML to match my stylesheet ehheh (diff)
downloadpenes-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 'xs_set.h')
0 files changed, 0 insertions, 0 deletions