aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-06-04 17:13:55 -0700
committerredmatrix <git@macgirvin.com>2016-06-04 17:13:55 -0700
commitbf438f67e15853488a0b2209194ce3365b918ca8 (patch)
treeb6623d488a6d8997e456ea677d6e2160a3117369
parent81f6511d340ce986e9a8ff06bbc27070818f690a (diff)
downloadvolse-hubzilla-bf438f67e15853488a0b2209194ce3365b918ca8.tar.gz
volse-hubzilla-bf438f67e15853488a0b2209194ce3365b918ca8.tar.bz2
volse-hubzilla-bf438f67e15853488a0b2209194ce3365b918ca8.zip
the :tone variants are messed up, remove them
-rw-r--r--include/text.php2
1 files changed, 2 insertions, 0 deletions
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[] = '<img height="16" width="16" src="images/emoji/' . $e['unicode'] . '.png' . '" alt="' . $e['name'] . '" />';
}