mirror of https://github.com/tootsuite/mastodon
Don't return unsaved status from ProcessFeedService
parent
81065bc06c
commit
cfba03bd27
|
@ -48,10 +48,9 @@ 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)
|
||||||
end
|
|
||||||
|
|
||||||
return status
|
return status
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
def record_remote_mentions(status, links)
|
def record_remote_mentions(status, links)
|
||||||
# Here we have to do a reverse lookup of local accounts by their URL!
|
# Here we have to do a reverse lookup of local accounts by their URL!
|
||||||
|
|
Loading…
Reference in New Issue