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

Fix emojis vs uppercase letters: #3501

Conversation

JohnXLivingston
Copy link
Contributor

  • Fix: trying to use an emojis with an uppercase letter breaks the message field.
  • Fix: isOnlyEmojis vs uppercase letters.
  • Fix: renaming getEmojisByAtrribute to getEmojisByAttribute.

* Fix: trying to use an emojis with an uppercase letter breaks the message field.
* Fix: isOnlyEmojis vs uppercase letters.
* Fix: renaming getEmojisByAtrribute to getEmojisByAttribute.
@jcbrand jcbrand merged commit a0e993a into master Sep 6, 2024
4 checks passed
JohnXLivingston added a commit to JohnXLivingston/converse.js that referenced this pull request Dec 5, 2024
… field.

Previoux fix (conversejs#3501) was
wrong and introduced other issues:
* impossible to define an emoji with uppercase letters
* possible to use an emoji 🔤 by using :Abc:, but it won't display

So, the correct fix is just to remove the 'i' modifier for the
shortname_regex, to always have case sensitive emojis.
JohnXLivingston added a commit to JohnXLivingston/converse.js that referenced this pull request Dec 5, 2024
… field.

Previoux fix (conversejs#3501) was
wrong and introduced other issues:
* impossible to define an emoji with uppercase letters
* possible to use an emoji 🔤 by using :Abc:, but it won't display

So, the correct fix is just to remove the 'i' modifier for the
shortname_regex, to always have case sensitive emojis.
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

Successfully merging this pull request may close these issues.

Sending a message with an uppercase emoji code breaks the message field.
2 participants