Remove attachment links, as we are already showing them.
This commit is contained in:
parent
c9ab70db8e
commit
05733b6bc9
5 changed files with 42 additions and 6 deletions
|
@ -1,6 +1,7 @@
|
|||
import { reduce, map, slice, last, intersectionBy, sortBy, unionBy, toInteger, groupBy, differenceBy, each, find } from 'lodash'
|
||||
import moment from 'moment'
|
||||
import apiService from '../services/api/api.service.js'
|
||||
import parse from '../services/status_parser/status_parser.js'
|
||||
|
||||
export const defaultState = {
|
||||
allStatuses: [],
|
||||
|
@ -60,11 +61,7 @@ const addStatusesToTimeline = (addedStatuses, showImmediately, { statuses, visib
|
|||
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
|
||||
}
|
||||
statusoid.statusnet_html = parse(statusoid.statusnet_html)
|
||||
|
||||
if (statusoid.nsfw === undefined) {
|
||||
const nsfwRegex = /#nsfw/i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue