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 not all emoji-only messages being detected as such #368

Merged
merged 1 commit into from
Mar 11, 2022

Conversation

ginnyTheCat
Copy link
Collaborator

@ginnyTheCat ginnyTheCat commented Mar 9, 2022

Description

Some emoji-only messages were not considered emoji-only because of a unicode variation selector (U+FE0F) being sent along.

Without the fix (:+1: are smaller than the other emojis)
image

With the fix
image

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

Preview: https://6228bebac3982500664037c5--pr-cinny.netlify.app
⚠️ Exercise caution. Use test accounts. ⚠️

@ginnyTheCat ginnyTheCat changed the title Add variation selector to regex Fix not all emoji-only messages being detected as such Mar 9, 2022
@ajbura ajbura merged commit f0e9de4 into cinnyapp:dev Mar 11, 2022
@kfiven kfiven added this to the v1.8.1 milestone Mar 15, 2022
@kfiven kfiven mentioned this pull request Mar 15, 2022
@ginnyTheCat ginnyTheCat deleted the emoji-big-fix branch August 7, 2022 08:50
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.

3 participants