about summary refs log tree commit diff
diff options
context:
space:
mode:
authorErin <sylphofelectricity@gmail.com>2017-12-11 17:39:11 -0600
committerErin <sylphofelectricity@gmail.com>2017-12-11 17:39:11 -0600
commit2efffe77dc5ff20ba4904d7a72e137d6c0e5c017 (patch)
treef25b03caa5f2cae468732efe907e588f5cf88ede
parentc5a4eda6946cc2b7afa466e5c4abe0673fa235ad (diff)
reblog_service.rb: Status#local_only -> local_only?
-rw-r--r--app/services/reblog_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/reblog_service.rb b/app/services/reblog_service.rb
index 6802afe70..8d8b15a41 100644
--- a/app/services/reblog_service.rb
+++ b/app/services/reblog_service.rb
@@ -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