about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorErin <sylphofelectricity@gmail.com>2017-12-11 15:27:31 -0600
committerErin <sylphofelectricity@gmail.com>2017-12-11 15:27:31 -0600
commit3ec47e732b0ae05095c733bd91ab4313f54025dc (patch)
tree284c0af5363b468fbd62f309b1d39bdac96f3218 /app/services
parent1138d0c321d3aee9c809e5abc03728d854a72203 (diff)
post_status_service: stylistic change (local_only -> local_only?)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/post_status_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index ff6cfbe8f..6b6a37676 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -40,7 +40,7 @@ class PostStatusService < BaseService
     LinkCrawlWorker.perform_async(status.id) unless status.spoiler_text?
     DistributionWorker.perform_async(status.id)
 
-    unless status.local_only
+    unless status.local_only?
       Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
       ActivityPub::DistributionWorker.perform_async(status.id)
       ActivityPub::ReplyDistributionWorker.perform_async(status.id) if status.reply? && status.thread.account.local?