Merge pull request #4954 from jjaffeux/use-thumb
FIX: prevent thumbsup/down to appear in custom emojis
This commit is contained in:
commit
39819ec9f5
|
@ -5995,14 +5995,6 @@
|
|||
{
|
||||
"code": "1f1fa-1f1f3",
|
||||
"name": "united_nations"
|
||||
},
|
||||
{
|
||||
"code": "1f44d",
|
||||
"name": "thumbsup"
|
||||
},
|
||||
{
|
||||
"code": "1f44e",
|
||||
"name": "thumbsdown"
|
||||
}
|
||||
],
|
||||
"tonableEmojis": [
|
||||
|
|
|
@ -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"] }
|
||||
|
|
Loading…
Reference in New Issue