|
|
@ -72,7 +72,7 @@ const normalizeAccount = (state, account) => {
|
|
|
|
delete account.statuses_count;
|
|
|
|
delete account.statuses_count;
|
|
|
|
|
|
|
|
|
|
|
|
const emojiMap = makeEmojiMap(account);
|
|
|
|
const emojiMap = makeEmojiMap(account);
|
|
|
|
const displayName = account.display_name.length === 0 ? account.username : account.display_name;
|
|
|
|
const displayName = account.display_name.trim().length === 0 ? account.username : account.display_name;
|
|
|
|
account.display_name_html = emojify(escapeTextContentForBrowser(displayName), emojiMap);
|
|
|
|
account.display_name_html = emojify(escapeTextContentForBrowser(displayName), emojiMap);
|
|
|
|
account.note_emojified = emojify(account.note, emojiMap);
|
|
|
|
account.note_emojified = emojify(account.note, emojiMap);
|
|
|
|
|
|
|
|
|
|
|
|