diff options
author | Eugen <eugen@zeonfederated.com> | 2016-09-06 12:30:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-06 12:30:15 +0200 |
commit | 1efa8e48d1cbf26715a764a9f4acf1b848a9f740 (patch) | |
tree | 07f5114582848519bea30f17e06a167b33de9902 /app | |
parent | aca988a16b4b5412e6bc7559a1822834c3af8fd7 (diff) |
Fix enclosures not being parsed for reblogged statuses
Diffstat (limited to 'app')
-rw-r--r-- | app/services/process_feed_service.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index 0dd22fa22..97033a004 100644 --- a/app/services/process_feed_service.rb +++ b/app/services/process_feed_service.rb @@ -36,9 +36,13 @@ class ProcessFeedService < BaseService end # If we added a status, go through accounts it mentions and create respective relations + # Also record all media attachments for the status and for the reblogged status if present unless status.new_record? record_remote_mentions(status, entry.xpath('./xmlns:link[@rel="mentioned"]')) + process_attachments(entry, status) + process_attachments(entry.xpath('./activity:object'), status.reblog) if status.reblog? + DistributionWorker.perform_async(status.id) end end |