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

lolsob-rspec
Yamagishi Kazutoshi 2017-06-07 22:57:59 +09:00 committed by Eugen Rochko
parent eebfad1ac8
commit 1844753bda
1 changed files with 1 additions and 5 deletions

View File

@ -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)