diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-06 03:57:46 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-03-06 11:42:25 +0100 |
commit | 7f32d675b05b012a80c2b34c07d361ec8d596bf3 (patch) | |
tree | 8f8af21594e8a8762347002fd9ddb13b5e95aa8a /app/javascript/flavours/glitch/actions/importer/index.js | |
parent | 48062329973398fe5b12cadcc389c8602f1bb17f (diff) |
Render unicode emoji in polls using emoji pack
Port 4407f07014096bcbaf5a06015a5791984282846d to glitch-soc
Diffstat (limited to 'app/javascript/flavours/glitch/actions/importer/index.js')
-rw-r--r-- | app/javascript/flavours/glitch/actions/importer/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/javascript/flavours/glitch/actions/importer/index.js b/app/javascript/flavours/glitch/actions/importer/index.js index abadee817..e990dc04c 100644 --- a/app/javascript/flavours/glitch/actions/importer/index.js +++ b/app/javascript/flavours/glitch/actions/importer/index.js @@ -1,4 +1,4 @@ -import { normalizeAccount, normalizeStatus } from './normalizer'; +import { normalizeAccount, normalizeStatus, normalizePoll } from './normalizer'; export const ACCOUNT_IMPORT = 'ACCOUNT_IMPORT'; export const ACCOUNTS_IMPORT = 'ACCOUNTS_IMPORT'; @@ -71,7 +71,7 @@ export function importFetchedStatuses(statuses) { } if (status.poll && status.poll.id) { - pushUnique(polls, status.poll); + pushUnique(polls, normalizePoll(status.poll)); } } |