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

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
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
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)