summaryrefslogtreecommitdiffstats
path: root/apps/user_status
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-10-19 15:05:34 +0200
committerGitHub <noreply@github.com>2020-10-19 15:05:34 +0200
commit8355f95beff4916c3fad6869d5bbb966ef130b23 (patch)
treee84f293e98c51d0cb8980756cb54cadb2d58dee1 /apps/user_status
parentb2d1c8b335c9dbd8048d155f0dd237f197df4cab (diff)
parentee7eb6f2b3f41e93f94b894b790933edce544191 (diff)
downloadnextcloud-server-8355f95beff4916c3fad6869d5bbb966ef130b23.tar.gz
nextcloud-server-8355f95beff4916c3fad6869d5bbb966ef130b23.zip
Merge pull request #23415 from nextcloud/bugfix/23304/some-emojis-are-in-general-other-types
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
Diffstat (limited to 'apps/user_status')
-rw-r--r--apps/user_status/lib/Service/EmojiService.php3
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;
}