Make created_at_parsed reactive.

This commit is contained in:
Roger Braun 2016-10-31 10:20:02 +01:00
parent 7980558461
commit 88d960b9f6
1 changed files with 3 additions and 0 deletions

View File

@ -55,6 +55,9 @@ const addStatusesToTimeline = (addedStatuses, showImmediately, { statuses, visib
// Add some html and nsfw to the statuses. // Add some html and nsfw to the statuses.
each(addedStatuses, (status) => { each(addedStatuses, (status) => {
const statusoid = status.retweeted_status || status const statusoid = status.retweeted_status || status
statusoid.created_at_parsed = statusoid.created_at
if (statusoid.parsedText === undefined) { if (statusoid.parsedText === undefined) {
// statusoid.parsedText = statusParserService.parse(statusoid) // statusoid.parsedText = statusParserService.parse(statusoid)
statusoid.parsedText = statusoid.text statusoid.parsedText = statusoid.text