Browse Source

Don't return unsaved status from ProcessFeedService

closed-social-glitch-2
Eugen Rochko 7 years ago
parent
commit
cfba03bd27
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      app/services/process_feed_service.rb

+ 1
- 2
app/services/process_feed_service.rb View File

@ -48,9 +48,8 @@ class ProcessFeedService < BaseService
process_attachments(entry.xpath('./activity:object'), status.reblog) if status.reblog? process_attachments(entry.xpath('./activity:object'), status.reblog) if status.reblog?
DistributionWorker.perform_async(status.id) DistributionWorker.perform_async(status.id)
return status
end end
return status
end end
def record_remote_mentions(status, links) def record_remote_mentions(status, links)

Loading…
Cancel
Save