Bug Emoji list doesn't support diversity

There is a bug in this version
K

Kirby

Guest
PHP:

Code:
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...

Read more

Continue reading...