Don't return unsaved status from ProcessFeedService

lolsob-rspec
Eugen Rochko 2016-10-10 16:49:05 +02:00
parent 33668b91f8
commit 3d229e3937
1 changed files with 1 additions and 2 deletions

View File

@ -48,10 +48,9 @@ class ProcessFeedService < BaseService
process_attachments(entry.xpath('./activity:object'), status.reblog) if status.reblog?
DistributionWorker.perform_async(status.id)
end
return status
end
end
def record_remote_mentions(status, links)
# Here we have to do a reverse lookup of local accounts by their URL!