Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Short Names #23

Open
tjquillan opened this issue May 12, 2020 · 6 comments
Open

Missing Short Names #23

tjquillan opened this issue May 12, 2020 · 6 comments

Comments

@tjquillan
Copy link

Some short names such as the ones listed below do not work when passed to joypixels.shortnameToImage()

  • :cowboy_hat_face:
  • :frowning_face:
  • :fist_oncoming:
  • :fist_oncoming:
  • :fist_left:
  • :fist_right:
  • and more...
@umair-farrukh
Copy link

I am having the same issue. how did you manage to solve this issue?

@tjquillan
Copy link
Author

I didn't. What I do now, in my case, is translate the emoji to its' short name using joypixels.toShort() and then later use those names it provides on joypixels.shortnameToImage().

@tuanalumi
Copy link

My solution is to store emoji's unicode, then later, for display, I use HTML entity with that code. For example: &x1f617;

@axi
Copy link

axi commented Oct 19, 2021

:slightly_smiling_face: is gone too, :cry: still exist 😢

I'm using shortnameToUnicode() method.

Last version ok: 5.0.5
First version nok: 5.5.0

:slight_smile: which looks like an alias is ok

@mistergiantmedia
Copy link

mistergiantmedia commented Oct 23, 2021

Yes also have this issue, :clown: translates to Unicode but :clown_face: does not.
:clown_face: is an alternative short for :clown:, somehow it does not get the alternatives.

@mistergiantmedia
Copy link

Found a fix problem, went back to version 5 and now it works.

in client.php I copied public function shortnameToUnicodeCallback($m)
from v5 to v6.6

And now :clown_face: works in v6.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants