about summary refs log tree commit diff
path: root/app/models
diff options
context:
space:
mode:
authorErin <sylphofelectricity@gmail.com>2017-12-11 15:28:04 -0600
committerErin <sylphofelectricity@gmail.com>2017-12-11 15:28:04 -0600
commitc5a4eda6946cc2b7afa466e5c4abe0673fa235ad (patch)
tree5b85932f2becdf7ca7db60d17bd25968ec3a2979 /app/models
parent3ec47e732b0ae05095c733bd91ab4313f54025dc (diff)
move outbox filtering to Status#permitted_for (as per @ekiru)
Diffstat (limited to 'app/models')
-rw-r--r--app/models/status.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/status.rb b/app/models/status.rb
index 94b2a1aa9..1bc4c633d 100644
--- a/app/models/status.rb
+++ b/app/models/status.rb
@@ -223,7 +223,7 @@ class Status < ApplicationRecord
       visibility = [:public, :unlisted]
 
       if account.nil?
-        where(visibility: visibility)
+        where(visibility: visibility).not_local_only
       elsif target_account.blocking?(account) # get rid of blocked peeps
         none
       elsif account.id == target_account.id # author can see own stuff