mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 05:16:30 +08:00
FIX: prevent thumbsup/down to appear in custom emojis
This commit is contained in:
parent
2190f8823b
commit
0d6712b365
|
@ -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
Block a user