Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Strip all variation selectors on emoji #3818

Merged
merged 3 commits into from
Jan 8, 2020

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Jan 8, 2020

#3814 to release branch

dbkr added 3 commits January 8, 2020 10:51
...when inserting into or looking up in the unicode to emoji map.

This broke with emojibase 4.2.0 which changed the type of a whole
load of emojis to 'text' when previously they were 'emoji'. This
caused them to get the 'text' variant of the unicode string which
has the text variation selector (15) appended instead of the emoji
variation selector (16). We were only stripping the emoji selector,
so upgrading to 4.2.0 caused riot to fail to find the heart in the
unicode map, which therefore prevented the app from starting.
and my loop did not because I meant 'or', not 'and'
@dbkr dbkr merged commit f65e2c8 into release-v1.7.6 Jan 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant