From 1943d1c74d5253ec9d2b7ee38f69d791d28e84c1 Mon Sep 17 00:00:00 2001 From: Nicolas Werner Date: Tue, 21 Jan 2020 22:36:55 +0100 Subject: [PATCH] Increase emoji range --- src/Utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utils.cpp b/src/Utils.cpp index 911e57fc..05cb794c 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -43,7 +43,7 @@ utils::replaceEmoji(const QString &body) for (auto &code : utf32_string) { // TODO: Be more precise here. if ((code >= 0x2600 && code <= 0x27bf) || (code >= 0x1f300 && code <= 0x1f3ff) || - (code >= 0x1f000 && code <= 0x1f64f) || (code >= 0x1f680 && code <= 0x1f6ff)) { + (code >= 0x1f000 && code <= 0x1faff)) { if (!insideFontBlock) { fmtBody += QString(""); insideFontBlock = true;