From: Joas Schilling Date: Tue, 13 Oct 2020 13:32:34 +0000 (+0200) Subject: Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES X-Git-Tag: v20.0.2RC1~78^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=57cfed3f3d7887864023ffcc0f6dc8ead53b3236;p=nextcloud-server.git Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES Signed-off-by: Joas Schilling --- 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; }