about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/process_feed_service.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index 924a78b65..eabeb1799 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -63,11 +63,7 @@ class ProcessFeedService < BaseService
         return status unless just_created
 
         if verb == :share
-          if original_status.reblog?
-            status.reblog = original_status.reblog
-          else
-            status.reblog = original_status
-          end
+          status.reblog = original_status.reblog? ? original_status.reblog : original_status
         end
 
         status.thread = find_status(thread(@xml).first) if thread?(@xml)