mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Update src/Utils.cpp
Co-authored-by: DeepBlueV7.X <nicolas.werner@hotmail.de>
This commit is contained in:
parent
3b3d9dff83
commit
04a26a5f43
1 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue