diff options
| author | Moonman <shitposterclub@gmail.com> | 2019-05-20 00:03:50 -0400 |
|---|---|---|
| committer | Moonman <shitposterclub@gmail.com> | 2019-05-20 00:03:50 -0400 |
| commit | fc9acf8fb660b04641a6c30114dfa5f245de6e8c (patch) | |
| tree | 296af1de56ed5d6808bfd4067aadabc99f3c3a4c /src/services/entity_normalizer/entity_normalizer.service.js | |
| parent | 5bf208f2d1de1e20964ab06b04561c170867090c (diff) | |
add tags to data and to status component
Diffstat (limited to 'src/services/entity_normalizer/entity_normalizer.service.js')
| -rw-r--r-- | src/services/entity_normalizer/entity_normalizer.service.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 8e413584..46ca7602 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -192,6 +192,8 @@ export const parseStatus = (data) => { output.statusnet_html = addEmojis(data.content, data.emojis) + output.tags = data.tags + if (data.pleroma) { const { pleroma } = data output.text = pleroma.content ? data.pleroma.content['text/plain'] : data.content |
