about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/controllers/accounts_controller.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb
index e1c230e7a..b485eedc9 100644
--- a/app/controllers/accounts_controller.rb
+++ b/app/controllers/accounts_controller.rb
@@ -74,7 +74,8 @@ class AccountsController < ApplicationController
   end
 
   def default_statuses
-    @account.statuses.not_local_only.where(visibility: :public)
+    visibility_scopes = user_signed_in? ? [:public, :unlisted] : :public
+    @account.statuses.not_local_only.where(visibility: visibility_scopes)
   end
 
   def only_media_scope