Merge pull request #4954 from jjaffeux/use-thumb

FIX: prevent thumbsup/down to appear in custom emojis
This commit is contained in:
Joffrey JAFFEUX 2017-07-05 17:39:55 +02:00 committed by GitHub
commit 39819ec9f5
2 changed files with 0 additions and 12 deletions

View File

@ -5995,14 +5995,6 @@
{
"code": "1f1fa-1f1f3",
"name": "united_nations"
},
{
"code": "1f44d",
"name": "thumbsup"
},
{
"code": "1f44e",
"name": "thumbsdown"
}
],
"tonableEmojis": [

View File

@ -500,10 +500,6 @@ def write_db_json(emojis)
}
}
# adds emoji wich are not displayed in picker but available in autocomplete
emojis_without_tones << { "code" => "1f44d", "name" => "thumbsup" }
emojis_without_tones << { "code" => "1f44e", "name" => "thumbsdown" }
emoji_with_tones = emojis
.select { |code, config| config["fitzpatrick_scale"] }
.map { |code, config| config["name"] }