Fix Code Climate failed (regression from #3622) (#3624)

master
Yamagishi Kazutoshi 8 years ago committed by Eugen Rochko
parent 6bd6dcf6df
commit 1d68fe1a60
  1. 6
      app/services/process_feed_service.rb

@ -63,11 +63,7 @@ class ProcessFeedService < BaseService
return status unless just_created return status unless just_created
if verb == :share if verb == :share
if original_status.reblog? status.reblog = original_status.reblog? ? original_status.reblog : original_status
status.reblog = original_status.reblog
else
status.reblog = original_status
end
end end
status.thread = find_status(thread(@xml).first) if thread?(@xml) status.thread = find_status(thread(@xml).first) if thread?(@xml)

Loading…
Cancel
Save