From 57cfed3f3d7887864023ffcc0f6dc8ead53b3236 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 13 Oct 2020 15:32:34 +0200 Subject: [PATCH] Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES Signed-off-by: Joas Schilling --- apps/user_status/lib/Service/EmojiService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/user_status/lib/Service/EmojiService.php b/apps/user_status/lib/Service/EmojiService.php index bb0506d242..b55be89f29 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; }