fluffychat icon indicating copy to clipboard operation
fluffychat copied to clipboard

Animated emojis do not work

Open bq3p9 opened this issue 9 months ago • 4 comments

Bug Description

FluffyChat does not support animated emojis because it currently loads them with the following URL format:

https://matrix-client.matrix.org/_matrix/media/v3/thumbnail/matrix.org/<ID>?width=32&height=32&method=scale&animated=true

However, the actual URL format should be:

https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/<ID>

This loads the full resolution emoji and keeps the MIME type for animated emotes (APNG, WEBP, etc)

Steps to Reproduce

  1. Create an animated emoji using nheko or cinny
  2. Send a message with the emoji
  3. Look on FluffyChat and the emoji will not be animated

Expected Behavior

The emoji should be animated.

App Version

1.19.2

Additional Platform Information

Linux, Android, iOS, Windows, and web

Additional Context

CC @krille-chan

bq3p9 avatar Apr 28 '24 03:04 bq3p9

testing animated emoji rn, and it seems apng it was still working in 1.19.0-3 (from the AUR package)

gif are static tho. not sure if that's intended behaviour. also I can't even upload webp at all, since they're excluded from the filepicker… will have to try uploading them via other means…

RiedleroD avatar Apr 28 '24 11:04 RiedleroD

Some people are saying that when I send an animated emoji from FluffyChat, it appears still for non FluffyChat users. The same happens when they send animated stickers.

everypizza1 avatar May 11 '24 15:05 everypizza1

@everypizza1 in your case it's probably fluffy supporting apng, but not gif, and whatever the other clients are support gif but not apng.

RiedleroD avatar May 14 '24 14:05 RiedleroD

Just tried the Fluffychat web chat https://fluffychat.im/, uploaded the animated GIF from a local drive but Fluffychat web did not animate it. Then I converted the GIF to APNG with ffmpeg -i wink.gif wink.apng, uploaded it and it did not animate. Also it got blurred (while the GIF is displayed correctly).

I attached the GIF to this comment.

wink

Schlaftablette avatar Aug 03 '24 20:08 Schlaftablette