From 48740065016b7312b7bb1b8e6d944046d47329ad Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Mon, 1 Feb 2021 21:53:04 +0100 Subject: Fix emojis with fe0f in the middle --- src/Utils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/Utils.cpp') diff --git a/src/Utils.cpp b/src/Utils.cpp index 3bb090df..5af5748e 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -55,8 +55,7 @@ utils::codepointIsEmoji(uint code) { // TODO: Be more precise here. return (code >= 0x2600 && code <= 0x27bf) || (code >= 0x2b00 && code <= 0x2bff) || - (code >= 0x1f300 && code <= 0x1f3ff) || (code >= 0x1f000 && code <= 0x1faff) || - code == 0x200d; + (code >= 0x1f000 && code <= 0x1faff) || code == 0x200d || code == 0xfe0f; } QString -- cgit 1.4.1