From bf438f67e15853488a0b2209194ce3365b918ca8 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 4 Jun 2016 17:13:55 -0700 Subject: the :tone variants are messed up, remove them --- include/text.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/text.php') diff --git a/include/text.php b/include/text.php index 7495f01bd..7d1e22170 100644 --- a/include/text.php +++ b/include/text.php @@ -1163,6 +1163,8 @@ function list_smilies() { if(! App::$emojitab) App::$emojitab = json_decode(file_get_contents('library/emoji.json'),true); foreach(App::$emojitab as $e) { + if(strpos($e['shortname'],':tone') === 0) + continue; $texts[] = $e['shortname']; $icons[] = '' . $e['name'] . ''; } -- cgit v1.2.3