about summary refs log tree commit diff
path: root/app/controllers/accounts_controller.rb
diff options
context:
space:
mode:
authorErin <sylphofelectricity@gmail.com>2017-12-10 17:23:01 -0600
committerErin <sylphofelectricity@gmail.com>2017-12-10 17:23:01 -0600
commit6bd18e43ba6ce74837b813d68b5c96e4f696069f (patch)
tree7c123bc8e4948c674c4bd5d1d86a7f470b5cd063 /app/controllers/accounts_controller.rb
parent5ef65aab8f500b0675cf632d49f7cb544caefd27 (diff)
filter local-only statuses from public pages
Diffstat (limited to 'app/controllers/accounts_controller.rb')
-rw-r--r--app/controllers/accounts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index 309cb65da..31144fe05 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -49,7 +49,7 @@ class AccountsController < ApplicationController
   end
 
   def default_statuses
-    @account.statuses.where(visibility: [:public, :unlisted])
+    @account.statuses.not_local_only.where(visibility: [:public, :unlisted])
   end
 
   def only_media_scope