mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Don't return unsaved status from ProcessFeedService
This commit is contained in:
parent
81065bc06c
commit
cfba03bd27
@ -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…
Reference in New Issue
Block a user