Update src/Utils.cpp

Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
pull/1394/head
Loren Burkholder 2 years ago committed by GitHub
parent 3b3d9dff83
commit 04a26a5f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/Utils.cpp

@ -141,11 +141,9 @@ utils::replaceEmoji(const QString &body)
if (!insideTag && utils::codepointIsEmoji(code)) {
if (!insideFontBlock) {
fmtBody += QStringLiteral("<font face=\"") % UserSettings::instance()->emojiFont() %
QStringLiteral("\"") %
(UserSettings::instance()->enlargeEmojiOnlyMessages()
? QStringLiteral(" size=\"4\"")
: QString{}) %
QStringLiteral(">");
? QStringLiteral("\" size=\"4\">")
: QStringLiteral("\">"));
insideFontBlock = true;
} else if (code == 0xfe0f) {
// BUG(Nico):

Loading…
Cancel
Save