Browse Source

[Glitch] Display custom emoji in bio field names

Port 4bd58b7f2d to glitch-soc
closed-social-glitch-2
Thibaut Girka 5 years ago
parent
commit
cd8763b600
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/actions/importer/normalizer.js

+ 1
- 1
app/javascript/flavours/glitch/actions/importer/normalizer.js View File

@ -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),
}));

Loading…
Cancel
Save