diff options
| author | Roger Braun <roger@rogerbraun.net> | 2016-10-31 10:20:02 +0100 |
|---|---|---|
| committer | Roger Braun <roger@rogerbraun.net> | 2016-10-31 10:20:02 +0100 |
| commit | 88d960b9f6109c0c57958fb74d841dab9954ac33 (patch) | |
| tree | 24722679cb0c82732aa6a64cc14e954c13e9a64a /src | |
| parent | 79805584613bd3d3ec5fba6481fc1ba02986a1a8 (diff) | |
Make created_at_parsed reactive.
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/statuses.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/modules/statuses.js b/src/modules/statuses.js index eee368a3..c3692ae7 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -55,6 +55,9 @@ const addStatusesToTimeline = (addedStatuses, showImmediately, { statuses, visib // Add some html and nsfw to the statuses. each(addedStatuses, (status) => { const statusoid = status.retweeted_status || status + + statusoid.created_at_parsed = statusoid.created_at + if (statusoid.parsedText === undefined) { // statusoid.parsedText = statusParserService.parse(statusoid) statusoid.parsedText = statusoid.text |
