From cfba03bd277c4be8a32484d28b785a3c4107f808 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Mon, 10 Oct 2016 16:49:05 +0200 Subject: [PATCH] Don't return unsaved status from ProcessFeedService --- app/services/process_feed_service.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb index efe40adea..5b5800f16 100644 --- a/app/services/process_feed_service.rb +++ b/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)