about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-06-27 23:03:35 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:41:03 -0500
commit0f26894b065fcb40606bee1faaacd4cdaf8b3cd5 (patch)
treedee65ffac21ed50aeadaa8027bc26984400c1071 /app
parentba3a399d8899c55f03b5648ed668c9f32f9b8a26 (diff)
[Privacy] Exclude unlisted statuses from public profile pages
Diffstat (limited to 'app')
-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 f4fce456f..e1c230e7a 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -74,7 +74,7 @@ class AccountsController < ApplicationController
   end
 
   def default_statuses
-    @account.statuses.not_local_only.where(visibility: [:public, :unlisted])
+    @account.statuses.not_local_only.where(visibility: :public)
   end
 
   def only_media_scope