Merge pull request #23415 from nextcloud/bugfix/23304/some-emojis-are-in-general-other-types

Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
This commit is contained in:
Roeland Jago Douma 2020-10-19 15:05:34 +02:00 committed by GitHub
commit 8355f95bef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}