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

This commit is contained in:
Yamagishi Kazutoshi 2017-06-07 22:57:59 +09:00 committed by Eugen Rochko
parent 6bd6dcf6df
commit 1d68fe1a60
1 changed files with 1 additions and 5 deletions

View File

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