summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-02-09 20:20:37 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-02-09 20:21:01 +0100
commit463cee71460bfa64dfd64bf7018fb928e3589331 (patch)
treeefacb2f7ee357dd86c62fa36fd1b2a6e5b5e60b0 /src
parentMerge pull request #468 from tverrbjelke/missing_dep_for_debian (diff)
downloadnheko-463cee71460bfa64dfd64bf7018fb928e3589331.tar.xz
Fix wrong font used in emoji escape
Diffstat (limited to 'src')
-rw-r--r--src/Utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Utils.cpp b/src/Utils.cpp
index f90e5049..991fa550 100644
--- a/src/Utils.cpp
+++ b/src/Utils.cpp
@@ -71,7 +71,7 @@ utils::replaceEmoji(const QString &body)
                 if (utils::codepointIsEmoji(code)) {
                         if (!insideFontBlock) {
                                 fmtBody += QString("<font face=\"" +
-                                                   UserSettings::instance()->font() + "\">");
+                                                   UserSettings::instance()->emojiFont() + "\">");
                                 insideFontBlock = true;
                         }