diff options
Diffstat (limited to 'app/controllers')
-rw-r--r-- | app/controllers/accounts_controller.rb | 1 | ||||
-rw-r--r-- | app/controllers/api/v1/accounts/statuses_controller.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/accounts_controller.rb b/app/controllers/accounts_controller.rb index 8059e0e5d..88b30fb28 100644 --- a/app/controllers/accounts_controller.rb +++ b/app/controllers/accounts_controller.rb @@ -81,6 +81,7 @@ class AccountsController < ApplicationController @account.statuses.permitted_for( @account, current_account, + include_semiprivate: true, include_reblogs: !(threads_requested? || replies_requested?), only_reblogs: reblogs_requested?, only_replies: replies_requested?, diff --git a/app/controllers/api/v1/accounts/statuses_controller.rb b/app/controllers/api/v1/accounts/statuses_controller.rb index 61633ce36..f9b8ccc24 100644 --- a/app/controllers/api/v1/accounts/statuses_controller.rb +++ b/app/controllers/api/v1/accounts/statuses_controller.rb @@ -42,6 +42,7 @@ class Api::V1::Accounts::StatusesController < Api::BaseController @account.statuses.permitted_for( @account, current_account, + include_semiprivate: true, include_reblogs: include_reblogs?, include_replies: include_replies?, only_reblogs: only_reblogs?, |