RSS Feed/News Emoji list doesn't support diversity

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
19,706
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top