about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-07-21 03:40:27 +0200
committerEugen Rochko <eugen@zeonfederated.com>2019-07-21 03:40:27 +0200
commit4bd58b7f2da369a608eacb97f832728ddc139ce8 (patch)
treef3651f037dccd2d421a2ec615d8fb8adead8f693 /app
parent2859790890cc53101d55e132ac05c9f59db2bad5 (diff)
Display custom emoji in bio field names (#11350)
Already displayed in public pages, but not WebUI
Diffstat (limited to 'app')
-rw-r--r--app/javascript/mastodon/actions/importer/normalizer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/actions/importer/normalizer.js b/app/javascript/mastodon/actions/importer/normalizer.js
index b250ee076..5e7e78e69 100644
--- a/app/javascript/mastodon/actions/importer/normalizer.js
+++ b/app/javascript/mastodon/actions/importer/normalizer.js
@@ -22,7 +22,7 @@ export function normalizeAccount(account) {
   if (account.fields) {
     account.fields = account.fields.map(pair => ({
       ...pair,
-      name_emojified: emojify(escapeTextContentForBrowser(pair.name)),
+      name_emojified: emojify(escapeTextContentForBrowser(pair.name), emojiMap),
       value_emojified: emojify(pair.value, emojiMap),
       value_plain: unescapeHTML(pair.value),
     }));