]> cat aescling's git repositories - mastodon.git/commitdiff
reblog_service.rb: Status#local_only -> local_only?
authorErin <sylphofelectricity@gmail.com>
Mon, 11 Dec 2017 23:39:11 +0000 (17:39 -0600)
committerErin <sylphofelectricity@gmail.com>
Mon, 11 Dec 2017 23:39:11 +0000 (17:39 -0600)
app/services/reblog_service.rb

index 6802afe702f6c9f9cd2e19d057139170ea8f76cb..8d8b15a413de53469a8f1823eb6f99d2c4722a06 100644 (file)
@@ -21,7 +21,7 @@ class ReblogService < BaseService
 
     DistributionWorker.perform_async(reblog.id)
 
-    unless reblogged_status.local_only
+    unless reblogged_status.local_only?
       Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id)
       ActivityPub::DistributionWorker.perform_async(reblog.id)
     end