diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-24 12:40:55 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-03-24 12:43:55 +0100 |
commit | c8999a116ef71bef2cb28a783e4ba3d8e3cea6fa (patch) | |
tree | 5de675d578d4e3b10ccbbcee12858f1c8a7c0eb0 /app/views/api/statuses | |
parent | 7cd3de3494834abfefc405b958da9898780fcb40 (diff) |
Sanitize remote html in atom feeds, API (not just UI), use cached mention
relations on Status#mentions
Diffstat (limited to 'app/views/api/statuses')
-rw-r--r-- | app/views/api/statuses/show.rabl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/api/statuses/show.rabl b/app/views/api/statuses/show.rabl index 6c4063b80..b4a73f9a6 100644 --- a/app/views/api/statuses/show.rabl +++ b/app/views/api/statuses/show.rabl @@ -2,7 +2,7 @@ object @status attributes :id, :created_at, :in_reply_to_id node(:uri) { |status| uri_for_target(status) } -node(:content) { |status| status.local? ? linkify(status) : status.content } +node(:content) { |status| content_for_status(status) } node(:url) { |status| url_for_target(status) } node(:reblogs_count) { |status| status.reblogs_count } node(:favourites_count) { |status| status.favourites_count } |