mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 11:00:48 +03:00
Fix black cat emoji
This commit is contained in:
parent
559ed57565
commit
7f1f747203
1 changed files with 3 additions and 2 deletions
|
@ -54,8 +54,9 @@ bool
|
|||
utils::codepointIsEmoji(uint code)
|
||||
{
|
||||
// TODO: Be more precise here.
|
||||
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x1f300 && code <= 0x1f3ff) ||
|
||||
(code >= 0x1f000 && code <= 0x1faff);
|
||||
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
|
||||
(code >= 0x1f300 && code <= 0x1f3ff) || (code >= 0x1f000 && code <= 0x1faff) ||
|
||||
code == 0x200d;
|
||||
}
|
||||
|
||||
QString
|
||||
|
|
Loading…
Reference in a new issue