Don't return unsaved status from ProcessFeedService

master
Eugen Rochko 8 years ago
parent 81065bc06c
commit cfba03bd27
  1. 3
      app/services/process_feed_service.rb

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

Loading…
Cancel
Save