about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-10-10 16:49:05 +0200
committerEugen Rochko <eugen@zeonfederated.com>2016-10-10 16:49:05 +0200
commitcfba03bd277c4be8a32484d28b785a3c4107f808 (patch)
tree4b598acd2c67c4c046e9e955f44a03a462758de7 /app
parent81065bc06c544bd78eb9cce9cfbdba57638af005 (diff)
Don't return unsaved status from ProcessFeedService
Diffstat (limited to 'app')
-rw-r--r--app/services/process_feed_service.rb3
1 files changed, 1 insertions, 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)