telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.41k stars 5.25k forks source link

Some emoji don't have a shortcode #28259

Open pwall2222 opened 3 months ago

pwall2222 commented 3 months ago

Steps to reproduce

  1. Hover over 😵‍💫
  2. Shows no short code
  3. Hover over any other emoji
  4. Shows short code

Expected behaviour

Every emoji to have a shortcode.

Actual behaviour

At least 😵‍💫 doesn't have a shortcode.

Operating system

Windows 10 22H2 and NixOS 24.04 XFCE

Version of Telegram Desktop

5.3.1 for Windows and 5.1.7 for Linux

Installation source

Static binary from official website

Crash ID

No response

Logs

No response

pwall2222 commented 3 months ago

I think it has something to do with using the old and unmantained emojione that has been substituted with emoji-toolkit, but I couldn't find much of anything while looking at the source code, so I don't know if it is tied to that. (emojione doesn't have 😵‍💫, emoji-toolkit does).

ilya-fedin commented 3 months ago

Not sure how emojione is relevant here in your opinion given that tdesktop uses apple emojis. The codes are in this json file if I'm not mistaken.

pwall2222 commented 3 months ago

Not sure how emojione is relevant here in your opinion given that tdesktop uses apple emojis. The codes are in this json file if I'm not mistaken.

It was just speculation because the ReadMe includes emojione alphacodes.