• You need 5 posts to download resources. You can only download 2 resources per day. To remove these limits consider upgrading.

News Emoji list doesn't support diversity

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...
 
Top