Fix wrong font used in emoji escape

This commit is contained in:
Nicolas Werner 2021-02-09 20:20:37 +01:00
parent 6aabe9d5f7
commit 463cee7146

View file

@ -71,7 +71,7 @@ utils::replaceEmoji(const QString &body)
if (utils::codepointIsEmoji(code)) { if (utils::codepointIsEmoji(code)) {
if (!insideFontBlock) { if (!insideFontBlock) {
fmtBody += QString("<font face=\"" + fmtBody += QString("<font face=\"" +
UserSettings::instance()->font() + "\">"); UserSettings::instance()->emojiFont() + "\">");
insideFontBlock = true; insideFontBlock = true;
} }