summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-01 21:53:04 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-01 21:53:04 +0100
commit48740065016b7312b7bb1b8e6d944046d47329ad (patch)
treea376b70e965ca5c8ad87be300416398fe69c7a5f /src/Utils.cpp
parentMerge pull request #431 from Jedi18/avatar_username_feature (diff)
downloadnheko-48740065016b7312b7bb1b8e6d944046d47329ad.tar.xz
Fix emojis with fe0f in the middle
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp3
1 files changed, 1 insertions, 2 deletions
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