Emoji list doesn't support diversity

Kirby

Well-known member
Affected version
2.3.0 Beta 2 / xenforo.com
PHP:
public function getEmojiListForDisplay($lazyLoad = false)
{
    if (!\XF::config('fullUnicode'))
    {
        return [];
    }


    $list = $this->getDetailedEmojiList();
    $formatter = \XF::app()->stringFormatter()->getEmojiFormatter();

    $output = [];

    foreach ($list AS $key => $emoji)
    {
        if ($emoji['diversity'])
        {
            // TODO: Support skin-tone modifiers
            unset($list[$key]);

As already noted via TODO:
Emoji listing does not support skin tone modifiers which means that if a user wants to post an emoji of a woman with a medium skin (👩🏽) they must manually type in :woman_tone3: as this emoji is not shown in the dialog.

We recently got complaints from our users due to "missing" emoji skin tones and explained them how to use the codes, but frankly speaking ... this is waay to complicated for the average user.
 
Lets see if this works.

Now i'm using my phone so it shouldn't be a problem.

🤦‍♀️👩🏻‍🦰💁🏻‍♀️
Seems to work here

Checking on my mac

👩‍🦰👱‍♀️
Hmm you might have a case here with that. Emojis seem to be yellow only via the smilie icon in the editor.
 
Last edited:
Top Bottom