replace reblog service check for an 👁️ with #local_only

master
Erin 7 years ago
parent cfbb95605b
commit 5ef65aab8f
  1. 2
      app/services/reblog_service.rb

@ -21,7 +21,7 @@ class ReblogService < BaseService
DistributionWorker.perform_async(reblog.id) DistributionWorker.perform_async(reblog.id)
unless /👁$/.match?(reblogged_status.content) unless reblogged_status.local_only
Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id) Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id)
ActivityPub::DistributionWorker.perform_async(reblog.id) ActivityPub::DistributionWorker.perform_async(reblog.id)
end end

Loading…
Cancel
Save