Fix black cat emoji

This commit is contained in:
Nicolas Werner 2020-12-15 21:53:43 +01:00
parent 559ed57565
commit 7f1f747203

View file

@ -54,8 +54,9 @@ bool
utils::codepointIsEmoji(uint code) utils::codepointIsEmoji(uint code)
{ {
// TODO: Be more precise here. // TODO: Be more precise here.
return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x1f300 && code <= 0x1f3ff) || return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) ||
(code >= 0x1f000 && code <= 0x1faff); (code >= 0x1f300 && code <= 0x1f3ff) || (code >= 0x1f000 && code <= 0x1faff) ||
code == 0x200d;
} }
QString QString