]> cat aescling's git repositories - mastodon.git/commitdiff
replace reblog service check for an :eye: with #local_only
authorErin <sylphofelectricity@gmail.com>
Sun, 10 Dec 2017 23:12:21 +0000 (17:12 -0600)
committerErin <sylphofelectricity@gmail.com>
Sun, 10 Dec 2017 23:12:21 +0000 (17:12 -0600)
app/services/reblog_service.rb

index 52e3ba0e054f3b53dcf6f3776487265cfa64ff3c..6802afe702f6c9f9cd2e19d057139170ea8f76cb 100644 (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