media/sticker: fix lottie mime type

It's always gunzipped, so should never send the application/x-tgsticker mime.
Also, video/lottie+json was recently registered with IANA, so use that instead
of the old image/lottie+json: <https://www.iana.org/assignments/media-types/video/lottie+json>
This commit is contained in:
Tulir Asokan
2025-04-24 15:55:35 +03:00
parent 75964a00ed
commit 48d91fdf76
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -116,7 +116,7 @@ var fileCaps = event.FileFeatureMap{
MimeTypes: map[string]event.CapabilitySupportLevel{
"image/webp": event.CapLevelFullySupported,
// TODO
//"image/lottie+json": event.CapLevelFullySupported,
//"video/lottie+json": event.CapLevelFullySupported,
//"video/webm": event.CapLevelFullySupported,
},
},