diff options
author | Joas Schilling <coding@schilljs.com> | 2020-10-13 15:32:34 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-10-13 15:32:34 +0200 |
commit | ee7eb6f2b3f41e93f94b894b790933edce544191 (patch) | |
tree | d0ae14ec841a30c2f38b3972e7060767c98011ff | |
parent | 85570abc9ac723758f3f62ec4f957da0ed5d6247 (diff) | |
download | nextcloud-server-ee7eb6f2b3f41e93f94b894b790933edce544191.tar.gz nextcloud-server-ee7eb6f2b3f41e93f94b894b790933edce544191.zip |
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r-- | apps/user_status/lib/Service/EmojiService.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/user_status/lib/Service/EmojiService.php b/apps/user_status/lib/Service/EmojiService.php index bb0506d242f..b55be89f290 100644 --- a/apps/user_status/lib/Service/EmojiService.php +++ b/apps/user_status/lib/Service/EmojiService.php @@ -81,7 +81,8 @@ class EmojiService { // just continue and check the next character if ($codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_SYMBOL || $codePointType === \IntlChar::CHAR_CATEGORY_MODIFIER_LETTER || - $codePointType === \IntlChar::CHAR_CATEGORY_OTHER_SYMBOL) { + $codePointType === \IntlChar::CHAR_CATEGORY_OTHER_SYMBOL || + $codePointType === \IntlChar::CHAR_CATEGORY_GENERAL_OTHER_TYPES) { continue; } |