1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-02 00:38:33 +09:00

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