summary refs log tree commit diff
path: root/src/Utils.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-12-18 15:20:11 +0100
committerGitHub <noreply@github.com>2020-12-18 15:20:11 +0100
commit45701b0896c9e2ac8670feff3e46ba5932673025 (patch)
tree8a833c4a99a08bc92d160b14ebdd88fef8eb9298 /src/Utils.cpp
parentTranslated using Weblate (Finnish) (diff)
parentFix unused capture (diff)
downloadnheko-45701b0896c9e2ac8670feff3e46ba5932673025.tar.xz
Merge pull request #355 from Nheko-Reborn/ssss
Cross-signing with self and user signing keys
Diffstat (limited to 'src/Utils.cpp')
-rw-r--r--src/Utils.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp

index 7fcaf5e2..1d8fcd9c 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp
@@ -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