Animated webp images imported as emoji are imported as static images

(#16) Bug Awaiting confirmation emoji media

Observed behaviour

Static emojis Expected behaviour Animated webp emojis should upload as animated emojis and be animated, since the client ostensibly supports animated webps

Reproduction steps

  1. Upload animated webp emoji
  2. Observe its stillness

Details

Summary

Uploading pre-existing animated WebP emojis makes them upload as static/non-animated ones instead of being animated.

Area

Frontend / Web

Environment

Solus Linux, Flatpak

2 comments

Sign in with Fluxer to comment and vote.
Comment by Rex
RexSystem 1 vote
Status changed from Fixed to Awaiting confirmation
This was closed in a bulk cleanup before Fluxer V2 without being checked or fixed. It may work now, so it is waiting for someone to confirm whether the bug still happens.
Comment by @hazre
RexSystem 1 vote originally by @hazre on GitHub
Hi, I made a fix for this before realizing that the PRs are closed. here's the patch. It fixes both animated webp and png (apng). https://github.com/fluxerapp/fluxer/compare/canary...hazre:fluxer:fix/upload-animated-webp-apng Edit: nvm it seems like it's been fixed in refractor branch: https://github.com/fluxerapp/fluxer/blob/bc2a78e5af3530f2dbb7a3d5b1e39a6fbe71a012/packages/api/src/infrastructure/AvatarService.tsx