]> source.dussan.org Git - nextcloud-server.git/commitdiff
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES 23415/head
authorJoas Schilling <coding@schilljs.com>
Tue, 13 Oct 2020 13:32:34 +0000 (15:32 +0200)
committerJoas Schilling <coding@schilljs.com>
Tue, 13 Oct 2020 13:32:34 +0000 (15:32 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
apps/user_status/lib/Service/EmojiService.php

index bb0506d242fb5ac5d9a7ef45d3a605d172955584..b55be89f290be8c3efa689612675d601a1221318 100644 (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;
                        }