Browse Source

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

closed-social-v3
Yamagishi Kazutoshi 7 years ago
committed by Eugen Rochko
parent
commit
1d68fe1a60
1 changed files with 1 additions and 5 deletions
  1. +1
    -5
      app/services/process_feed_service.rb

+ 1
- 5
app/services/process_feed_service.rb 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)

Loading…
Cancel
Save