From 0d6712b36575ec1e4d77c7a71a6d78b5467c0db5 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Wed, 5 Jul 2017 17:38:55 +0200 Subject: [PATCH] FIX: prevent thumbsup/down to appear in custom emojis --- lib/emoji/db.json | 8 -------- lib/tasks/emoji.rake | 4 ---- 2 files changed, 12 deletions(-) diff --git a/lib/emoji/db.json b/lib/emoji/db.json index e938c8e16d2..d899efa1cb3 100644 --- a/lib/emoji/db.json +++ b/lib/emoji/db.json @@ -5995,14 +5995,6 @@ { "code": "1f1fa-1f1f3", "name": "united_nations" - }, - { - "code": "1f44d", - "name": "thumbsup" - }, - { - "code": "1f44e", - "name": "thumbsdown" } ], "tonableEmojis": [ diff --git a/lib/tasks/emoji.rake b/lib/tasks/emoji.rake index 99dae03aab4..9957a0e59bd 100644 --- a/lib/tasks/emoji.rake +++ b/lib/tasks/emoji.rake @@ -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"] }