mirror of https://github.com/Siphonay/mastodon
replace reblog service check for an 👁️ with #local_only
This commit is contained in:
parent
cfbb95605b
commit
5ef65aab8f
|
@ -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…
Reference in New Issue