replace reblog service check for an 👁️ with #local_only

This commit is contained in:
Erin 2017-12-10 17:12:21 -06:00
parent cfbb95605b
commit 5ef65aab8f

View file

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